git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42687
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
}
// draw focus background on area in a way typical on platform
}
// draw focus background on area in a way typical on platform
-void wxComboCtrl::PrepareBackground( wxDC& dc, const wxRect& rect, int flags ) const
+void
+wxComboCtrl::PrepareBackground( wxDC& dc, const wxRect& rect, int flags ) const
- wxUxThemeEngine* theme = (wxUxThemeEngine*) NULL;
-
- // Constructor only calls GetHWND() const, so it should be safe
- // to cast "this" to const.
wxUxThemeHandle hTheme(this, L"COMBOBOX");
//COLORREF cref;
wxUxThemeHandle hTheme(this, L"COMBOBOX");
//COLORREF cref;
selRect.x += wcp + focusSpacingX;
selRect.width -= wcp + (focusSpacingX*2);
selRect.x += wcp + focusSpacingX;
selRect.width -= wcp + (focusSpacingX*2);
- if ( hTheme )
- theme = wxUxThemeEngine::GetIfActive();
+ //wxUxThemeEngine* theme = (wxUxThemeEngine*) NULL;
+ //if ( hTheme )
+ // theme = wxUxThemeEngine::GetIfActive();
wxColour bgCol;
bool drawDottedEdge = false;
wxColour bgCol;
bool drawDottedEdge = false;