*/
bool IsMainButtonEvent( const wxEvent& event )
{
- return (event.GetEventType() == wxEVT_COMMAND_BUTTON_CLICKED)
+ return (event.GetEventType() == wxEVT_BUTTON)
&& (m_wndSecId == event.GetId());
}
wxWindow *m_wndEditor;
wxWindow *m_wndEditor2;
-#if wxPG_DOUBLE_BUFFER
wxBitmap *m_doubleBuffer;
-#endif
/** Local time ms when control was created. */
wxLongLong m_timeCreated;
#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