#include <wx/artprov.h>
-#ifndef __WXMSW__
+#ifndef wxHAS_IMAGES_IN_RESOURCES
#include "../sample.xpm"
#endif
wxWindow* ctrl,
wxEvent& event ) const
{
- if ( event.GetEventType() == wxEVT_COMMAND_BUTTON_CLICKED )
+ if ( event.GetEventType() == wxEVT_BUTTON )
{
wxPGMultiButton* buttons = (wxPGMultiButton*) propGrid->GetEditorControlSecondary();