git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39262
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( PreprocessMouseEvent(event,handlerFlags) )
return;
if ( PreprocessMouseEvent(event,handlerFlags) )
return;
-#ifdef __WXMSW__
- const bool ctrlIsButton = true;
-#else
- const bool ctrlIsButton = false;
-#endif
+ const bool ctrlIsButton = wxPlatformIs(wxMSW);
if ( ctrlIsButton &&
(m_windowStyle & (wxCC_SPECIAL_DCLICK|wxCB_READONLY)) == wxCB_READONLY )
if ( ctrlIsButton &&
(m_windowStyle & (wxCC_SPECIAL_DCLICK|wxCB_READONLY)) == wxCB_READONLY )