wxOS2 with Open Watcom: correct PCH usage, missing headers, warning fixes, source cleaning and other Watcom adjustements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -211,15 +211,17 @@ void wxGenericColourDialog::OnMouseEvent(wxMouseEvent& event)
|
||||
void wxGenericColourDialog::OnPaint(wxPaintEvent& event)
|
||||
{
|
||||
#if !defined(__WXMOTIF__) && !defined(__WXPM__) && !defined(__WXCOCOA__)
|
||||
wxDialog::OnPaint(event);
|
||||
wxDialog::OnPaint(event);
|
||||
#else
|
||||
wxUnusedVar(event);
|
||||
#endif
|
||||
|
||||
wxPaintDC dc(this);
|
||||
wxPaintDC dc(this);
|
||||
|
||||
PaintBasicColours(dc);
|
||||
PaintCustomColours(dc);
|
||||
PaintCustomColour(dc);
|
||||
PaintHighlight(dc, true);
|
||||
PaintBasicColours(dc);
|
||||
PaintCustomColours(dc);
|
||||
PaintCustomColour(dc);
|
||||
PaintHighlight(dc, true);
|
||||
}
|
||||
|
||||
void wxGenericColourDialog::CalculateMeasurements()
|
||||
@@ -597,4 +599,3 @@ void wxGenericColourDialog::OnBlueSlider(wxCommandEvent& WXUNUSED(event))
|
||||
#endif // wxUSE_SLIDER
|
||||
|
||||
#endif // wxUSE_COLOURDLG && !defined(__WXGTK20__)
|
||||
|
||||
|
Reference in New Issue
Block a user