]> git.saurik.com Git - wxWidgets.git/commitdiff
don't use cryptic buttons, it's bad UI
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 30 May 2004 12:51:23 +0000 (12:51 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 30 May 2004 12:51:23 +0000 (12:51 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/taskbar/tbtest.cpp

index 50385b88dd2a7099afddad57b25fa600c361c8a5..d84bf01373804e7ed6df2c2d0de37ca17cbb3734 100644 (file)
@@ -81,14 +81,14 @@ void MyDialog::OnCloseWindow(wxCloseEvent& WXUNUSED(event))
 
 void MyDialog::Init(void)
 {
-  (void)new wxStaticText(this, wxID_ANY, _T("Press OK to hide me, Exit to quit."),
+  (void)new wxStaticText(this, wxID_ANY, _T("Press 'Hide me' to hide me, Exit to quit."),
                          wxPoint(10, 20));
 
   (void)new wxStaticText(this, wxID_ANY, _T("Double-click on the taskbar icon to show me again."),
                          wxPoint(10, 40));
 
   (void)new wxButton(this, wxID_EXIT, _T("Exit"), wxPoint(185, 230), wxSize(80, 25));
-  (new wxButton(this, wxID_OK, _T("OK"), wxPoint(100, 230), wxSize(80, 25)))->SetDefault();
+  (new wxButton(this, wxID_OK, _T("Hide me"), wxPoint(100, 230), wxSize(80, 25)))->SetDefault();
   Centre(wxBOTH);