#include "griddemo.h"
+#ifndef __WXMSW__
+ #include "../sample.xpm"
+#endif
+
// ----------------------------------------------------------------------------
// wxWin macros
// ----------------------------------------------------------------------------
wxDefaultPosition,
wxDefaultSize )
{
+ SetIcon(wxICON(sample));
+
wxMenu *fileMenu = new wxMenu;
fileMenu->Append( ID_VTABLE, _T("&Virtual table test\tCtrl-V"));
fileMenu->Append( ID_BUGS_TABLE, _T("&Bugs table test\tCtrl-B"));
aboutInfo.AddDeveloper(wxT("Julian Smart"));
aboutInfo.AddDeveloper(wxT("Vadim Zeitlin"));
+ // this is just to force the generic version of the about
+ // dialog under wxMSW so that it's easy to test if the grid
+ // repaints correctly when it has lost focus and a dialog
+ // (different from the Windows standard message box -- it doesn't
+ // work with it for some reason) is moved over it.
+ aboutInfo.SetWebSite(wxT("http://www.wxwidgets.org"));
+
wxAboutBox(aboutInfo);
}
// fla for EVT_IDLE handler
bool m_shouldUpdateOrder;
- DECLARE_NO_COPY_CLASS(TabularGridFrame)
+ wxDECLARE_NO_COPY_CLASS(TabularGridFrame);
DECLARE_EVENT_TABLE()
};