]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/xrc/myframe.cpp
added wxLstat() (one of patches from bug 1052385)
[wxWidgets.git] / samples / xrc / myframe.cpp
index 0d396f3d56c4606bb2a9896aec3a9d466a9d996e..29296978d96038252ea73ef812d80d33aa5bf72d 100644 (file)
@@ -24,6 +24,8 @@
     #include "wx/wx.h"
 #endif
 
+#include "wx/sysopt.h"
+
 //-----------------------------------------------------------------------------
 // Header of this .cpp file
 //-----------------------------------------------------------------------------
@@ -115,6 +117,7 @@ MyFrame::MyFrame(wxWindow* parent)
     // NOTE: For toolbars you currently should do it exactly like this.
     // With toolbars, you currently can't create one, and set it later. It
     // needs to be all in one step.
+    wxSystemOptions::SetOption ( wxT("msw.remap"), 0 );
     SetToolBar(wxXmlResource::Get()->LoadToolBar(this, wxT("main_toolbar")));
 
 #if wxUSE_STATUSBAR