]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't use context id for context help since it doesn't seem to be working at present
authorJulian Smart <julian@anthemion.co.uk>
Sun, 12 May 2002 12:47:54 +0000 (12:47 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Sun, 12 May 2002 12:47:54 +0000 (12:47 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/help/demo.cpp

index f88a1650bcf3af3dabd3eec596f9ee2500662806..7e8334038d13d6f65c0b57a2ae1cb350fb465efa 100644 (file)
@@ -416,8 +416,8 @@ MyFrame::MyFrame(const wxString& title, const wxPoint& pos, const wxSize& size)
     // a panel first - if there were several controls, it would allow us to
     // navigate between them from the keyboard
     wxPanel *panel = new wxPanel(this, 301, wxPoint(0, 0), wxSize(400, 200));
-    //panel->SetHelpText(_("This panel just holds a static text control."));
-    panel->SetHelpText(wxContextId(300));
+    panel->SetHelpText(_("This panel just holds a static text control."));
+    //panel->SetHelpText(wxContextId(300));
 
     // and a static control whose parent is the panel
     wxStaticText* staticText = new wxStaticText(panel, 302, "Hello, world!", wxPoint(10, 10));