X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4c51a665c649f7579fb39e62070cef4f66b3210d..8e77fd8bca165aab9709649d79a7cbc6a172d4e1:/include/wx/propgrid/propgrid.h diff --git a/include/wx/propgrid/propgrid.h b/include/wx/propgrid/propgrid.h index bf12c402b0..6b0458ee78 100644 --- a/include/wx/propgrid/propgrid.h +++ b/include/wx/propgrid/propgrid.h @@ -1609,7 +1609,7 @@ public: */ bool IsMainButtonEvent( const wxEvent& event ) { - return (event.GetEventType() == wxEVT_COMMAND_BUTTON_CLICKED) + return (event.GetEventType() == wxEVT_BUTTON) && (m_wndSecId == event.GetId()); } @@ -1795,9 +1795,7 @@ protected: wxWindow *m_wndEditor; wxWindow *m_wndEditor2; -#if wxPG_DOUBLE_BUFFER wxBitmap *m_doubleBuffer; -#endif /** Local time ms when control was created. */ wxLongLong m_timeCreated; @@ -2687,7 +2685,6 @@ protected: #undef wxPG_FL_INITIALIZED #undef wxPG_FL_ACTIVATION_BY_CLICK #undef wxPG_SUPPORT_TOOLTIPS - #undef wxPG_DOUBLE_BUFFER #undef wxPG_ICON_WIDTH #undef wxPG_USE_RENDERER_NATIVE // Following are needed by the manager headers