Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -288,11 +288,7 @@ void wxGenericComboControl::OnMouseEvent( wxMouseEvent& event )
|
|||||||
if ( PreprocessMouseEvent(event,handlerFlags) )
|
if ( PreprocessMouseEvent(event,handlerFlags) )
|
||||||
return;
|
return;
|
||||||
|
|
||||||
#ifdef __WXMSW__
|
const bool ctrlIsButton = wxPlatformIs(wxMSW);
|
||||||
const bool ctrlIsButton = true;
|
|
||||||
#else
|
|
||||||
const bool ctrlIsButton = false;
|
|
||||||
#endif
|
|
||||||
|
|
||||||
if ( ctrlIsButton &&
|
if ( ctrlIsButton &&
|
||||||
(m_windowStyle & (wxCC_SPECIAL_DCLICK|wxCB_READONLY)) == wxCB_READONLY )
|
(m_windowStyle & (wxCC_SPECIAL_DCLICK|wxCB_READONLY)) == wxCB_READONLY )
|
||||||
|
Reference in New Issue
Block a user