Added wxContextButton for non-MSW

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-02-11 19:12:18 +00:00
parent b62b320a40
commit 7a51b801c9

View File

@@ -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")