diff --git a/wxPython/demo/wxDialog.py b/wxPython/demo/wxDialog.py index 7985b60dfd..e1ce4e1516 100644 --- a/wxPython/demo/wxDialog.py +++ b/wxPython/demo/wxDialog.py @@ -57,6 +57,10 @@ def runTest(frame, nb, log): box = wxBoxSizer(wxHORIZONTAL) + if wxPlatform != "__WXMSW__": + btn = wxContextHelpButton(win) + box.Add(btn, 0, wxALIGN_CENTRE|wxALL, 5) + btn = wxButton(win, wxID_OK, " OK ") btn.SetDefault() btn.SetHelpText("The OK button completes the dialog")