#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();
wxMenu *menuTools2 = new wxMenu;
wxMenu *menuHelp = new wxMenu;
- menuHelp->Append(ID_ABOUT, wxT("&About..."), wxT("Show about dialog") );
+ menuHelp->Append(ID_ABOUT, wxT("&About"), wxT("Show about dialog") );
menuTools1->Append(ID_APPENDPROP, wxT("Append New Property") );
menuTools1->Append(ID_APPENDCAT, wxT("Append New Category\tCtrl-S") );