]> git.saurik.com Git - wxWidgets.git/commitdiff
position buttons to the right on OSX as well
authorStefan Csomor <csomor@advancedconcepts.ch>
Sun, 6 Mar 2011 15:24:26 +0000 (15:24 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Sun, 6 Mar 2011 15:24:26 +0000 (15:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/progdlgg.cpp

index dcecbc62e8e92ad893e9a6336cc7aa3be85195af..fb454b79530c3ec0458705cb2d5696b2ccc641a3 100644 (file)
@@ -261,7 +261,7 @@ void wxGenericProgressDialog::Create( const wxString& title,
 
     // Windows dialogs usually have buttons in the lower right corner
     const int sizerFlags =
-#if defined(__WXMSW__) || defined(__WXPM__)
+#if defined(__WXMSW__) || defined(__WXPM__) || defined(__WXOSX__)
                            wxALIGN_RIGHT | wxALL
 #else // !MSW
                            wxALIGN_CENTER_HORIZONTAL | wxBOTTOM | wxTOP