From: Vadim Zeitlin Date: Sun, 11 Jun 2006 22:40:07 +0000 (+0000) Subject: show setting help text for individual radio box items X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/188cb2af4f16905cb6ea895ecb595e47d20d3e5e show setting help text for individual radio box items git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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