X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8907154c1a8a6882c6797d1f16393ddfb23e7f3a..5921d2f848ade3f550e99b9b12daaa9f5bbba2ad:/samples/xrc/myframe.cpp diff --git a/samples/xrc/myframe.cpp b/samples/xrc/myframe.cpp index 0d396f3d56..29296978d9 100644 --- a/samples/xrc/myframe.cpp +++ b/samples/xrc/myframe.cpp @@ -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