mirror of https://github.com/odrling/Aegisub
Fixed the colour box on the colour pick dialogue.
Originally committed to SVN as r674.
This commit is contained in:
parent
57451272ff
commit
17d2ba4f1d
|
@ -789,14 +789,15 @@ void DialogColorPicker::UpdateSpectrumDisplay()
|
|||
}
|
||||
spectrum_dirty = false;
|
||||
|
||||
wxMemoryDC previewdc;
|
||||
previewdc.SelectObject(preview_bitmap);
|
||||
previewdc.SetPen(*wxTRANSPARENT_PEN);
|
||||
wxBrush brush(previewdc.GetBrush());
|
||||
brush.SetColour(cur_color);
|
||||
previewdc.SetBrush(brush);
|
||||
previewdc.DrawRectangle(0, 0, 40, 40);
|
||||
preview_box->Refresh(false);
|
||||
wxBitmap tempBmp = preview_box->GetBitmap();
|
||||
{
|
||||
wxMemoryDC previewdc;
|
||||
previewdc.SelectObject(tempBmp);
|
||||
previewdc.SetPen(*wxTRANSPARENT_PEN);
|
||||
previewdc.SetBrush(wxBrush(cur_color));
|
||||
previewdc.DrawRectangle(0, 0, 40, 40);
|
||||
}
|
||||
preview_box->SetBitmap(tempBmp);
|
||||
}
|
||||
|
||||
|
||||
|
|
|
@ -121,7 +121,7 @@ SubsTextEditCtrl::SubsTextEditCtrl(wxWindow* parent, wxWindowID id, const wxStri
|
|||
thesaurus = Thesaurus::GetThesaurus();
|
||||
|
||||
// Delimiters
|
||||
delim = _T(" .,;:!?에(){}[]\"/\\");
|
||||
delim = _T(" .,;:!?에-(){}[]\"/\\");
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue