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
This commit is contained in:
@@ -24,6 +24,8 @@
|
|||||||
#include "wx/wx.h"
|
#include "wx/wx.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include "wx/sysopt.h"
|
||||||
|
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
// Header of this .cpp file
|
// Header of this .cpp file
|
||||||
//-----------------------------------------------------------------------------
|
//-----------------------------------------------------------------------------
|
||||||
@@ -115,6 +117,7 @@ MyFrame::MyFrame(wxWindow* parent)
|
|||||||
// NOTE: For toolbars you currently should do it exactly like this.
|
// NOTE: For toolbars you currently should do it exactly like this.
|
||||||
// With toolbars, you currently can't create one, and set it later. It
|
// With toolbars, you currently can't create one, and set it later. It
|
||||||
// needs to be all in one step.
|
// needs to be all in one step.
|
||||||
|
wxSystemOptions::SetOption ( wxT("msw.remap"), 0 );
|
||||||
SetToolBar(wxXmlResource::Get()->LoadToolBar(this, wxT("main_toolbar")));
|
SetToolBar(wxXmlResource::Get()->LoadToolBar(this, wxT("main_toolbar")));
|
||||||
|
|
||||||
#if wxUSE_STATUSBAR
|
#if wxUSE_STATUSBAR
|
||||||
|
@@ -5,6 +5,7 @@
|
|||||||
<object class="wxDialog" name="controls_dialog">
|
<object class="wxDialog" name="controls_dialog">
|
||||||
<title>Controls Example</title>
|
<title>Controls Example</title>
|
||||||
<style>wxCAPTION|wxSYSTEM_MENU|wxRESIZE_BORDER</style>
|
<style>wxCAPTION|wxSYSTEM_MENU|wxRESIZE_BORDER</style>
|
||||||
|
<exstyle>wxDIALOG_EX_CONTEXTHELP</exstyle>
|
||||||
<centered>1</centered>
|
<centered>1</centered>
|
||||||
<object class="wxFlexGridSizer">
|
<object class="wxFlexGridSizer">
|
||||||
<cols>1</cols>
|
<cols>1</cols>
|
||||||
@@ -633,10 +634,10 @@
|
|||||||
<dimension>1</dimension>
|
<dimension>1</dimension>
|
||||||
<selection>0</selection>
|
<selection>0</selection>
|
||||||
<content>
|
<content>
|
||||||
<item tooltip="Powerful radio station">Power 108</item>
|
<item tooltip="Powerful radio station" helptext="This station is for amateurs of hard rock and heavy metal">Power 108</item>
|
||||||
<item tooltip="">WMMS 100.7</item>
|
<item tooltip="">WMMS 100.7</item>
|
||||||
<item tooltip="E=mc^2">Energy 98.3</item>
|
<item tooltip="E=mc^2">Energy 98.3</item>
|
||||||
<item>CHUM FM</item>
|
<item helptext="Favourite chukcha's radio">CHUM FM</item>
|
||||||
<item>92FM</item>
|
<item>92FM</item>
|
||||||
</content>
|
</content>
|
||||||
</object>
|
</object>
|
||||||
|
Reference in New Issue
Block a user