commented out more unused code (bcc compilation warning)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -246,12 +246,9 @@ static void wxMSWDrawFocusRect( wxDC& dc, const wxRect& rect )
|
||||
}
|
||||
|
||||
// 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;
|
||||
|
||||
@@ -314,8 +311,9 @@ void wxComboCtrl::PrepareBackground( wxDC& dc, const wxRect& rect, int flags ) c
|
||||
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;
|
||||
|
Reference in New Issue
Block a user