]> git.saurik.com Git - wxWidgets.git/commitdiff
fix crash because of a missing wxOK constant
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 5 Jan 2009 16:15:09 +0000 (16:15 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Mon, 5 Jan 2009 16:15:09 +0000 (16:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

samples/taskbar/tbtest.cpp

index 9723e48ae0e094cf34d5f3171d5cfd08c8b2525e..9256009cdd99e75ab814c25c40dd526fff4f54c2 100644 (file)
@@ -161,7 +161,7 @@ void MyDialog::OnAbout(wxCommandEvent& WXUNUSED(event))
 #if defined(__WXMSW__) && wxUSE_TASKBARICON_BALLOONS
     m_taskBarIcon->ShowBalloon(title, message, 15000, wxICON_INFORMATION);
 #else // !__WXMSW__
-    wxMessageBox(message, title, wxICON_INFORMATION, this);
+    wxMessageBox(message, title, wxICON_INFORMATION|wxOK, this);
 #endif // __WXMSW__/!__WXMSW__
 }