]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/tipdlg.cpp
don't free user data before sending wxEVT_COMMAND_LIST_DELETE_ALL_ITEMS, this prevent...
[wxWidgets.git] / src / generic / tipdlg.cpp
index fbea2405e0b8fc3281ca69a0c9d1a5f0d246064c..bd27ad93133bec4b0c8e06aae8afcbe70899a1b8 100644 (file)
@@ -225,7 +225,8 @@ wxTipDialog::wxTipDialog(wxWindow *parent,
     // 1) create all controls in tab order
 
 #ifndef __SMARTPHONE__
-    wxButton *btnClose = new wxButton(this, wxID_CANCEL, _("&Close"));
+    // FIXME: use stock wxID_CLOSE button here!
+    wxButton *btnClose = new wxButton(this, wxID_CANCEL, _("Close"));
 #endif
 
     m_checkbox = new wxCheckBox(this, wxID_ANY, _("&Show tips at startup"));