X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b445b6a76eddacd5bab45c71f640dad672d83393..8394f0a06bb5c84fbde2e2449e7bf72a1347fb66:/src/generic/combog.cpp?ds=inline diff --git a/src/generic/combog.cpp b/src/generic/combog.cpp index 8366a70ea0..d970168df3 100644 --- a/src/generic/combog.cpp +++ b/src/generic/combog.cpp @@ -288,7 +288,7 @@ void wxGenericComboControl::OnMouseEvent( wxMouseEvent& event ) if ( PreprocessMouseEvent(event,handlerFlags) ) return; - const bool ctrlIsButton = wxPlatformIs(wxMSW); + const bool ctrlIsButton = wxPlatformIs(wxOS_WINDOWS); if ( ctrlIsButton && (m_windowStyle & (wxCC_SPECIAL_DCLICK|wxCB_READONLY)) == wxCB_READONLY )