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 diff --git a/samples/xrc/rc/controls.xrc b/samples/xrc/rc/controls.xrc index ed706c7857..f834b6a1a1 100644 --- a/samples/xrc/rc/controls.xrc +++ b/samples/xrc/rc/controls.xrc @@ -5,6 +5,7 @@ Controls Example + wxDIALOG_EX_CONTEXTHELP 1 1 @@ -633,10 +634,10 @@ 1 0 - Power 108 + Power 108 WMMS 100.7 Energy 98.3 - CHUM FM + CHUM FM 92FM