git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9787
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
void wxGenericColourDialog::OnPaint(wxPaintEvent& event)
{
void wxGenericColourDialog::OnPaint(wxPaintEvent& event)
{
-#if !defined(__WXMOTIF__) && !defined(__WXMAC__)
+#if !defined(__WXMOTIF__) && !defined(__WXMAC__) && !defined(__WXPM__)
wxDialog::OnPaint(event);
#endif
wxDialog::OnPaint(event);
#endif
// 1) space for explicitly layouted controls
topsizer->Add( sliderX + 3*sliderSpacing, sliderHeight+25 );
// 1) space for explicitly layouted controls
topsizer->Add( sliderX + 3*sliderSpacing, sliderHeight+25 );
#if wxUSE_STATLINE
// 2) static line
topsizer->Add( new wxStaticLine( this, -1 ), 0, wxEXPAND | wxLEFT|wxRIGHT|wxTOP, 10 );
#if wxUSE_STATLINE
// 2) static line
topsizer->Add( new wxStaticLine( this, -1 ), 0, wxEXPAND | wxLEFT|wxRIGHT|wxTOP, 10 );
SetAutoLayout( TRUE );
SetSizer( topsizer );
SetAutoLayout( TRUE );
SetSizer( topsizer );
topsizer->SetSizeHints( this );
topsizer->Fit( this );
topsizer->SetSizeHints( this );
topsizer->Fit( this );