]> git.saurik.com Git - wxWidgets.git/commitdiff
SetLeft|RightMenu is supposed to be API for all smartphones. TODO comment.
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 15 Mar 2005 21:10:18 +0000 (21:10 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 15 Mar 2005 21:10:18 +0000 (21:10 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/propdlg.cpp

index 0d37afa37130249a264629fa6cfd32972b36f4ff..16de4b74799eb3e70528c932b26e7a9c4a6de7bb 100644 (file)
@@ -82,8 +82,11 @@ void wxPropertySheetDialog::LayoutDialog()
 // Creates the buttons, if any
 void wxPropertySheetDialog::CreateButtons(int flags)
 {
-#if defined(__WXWINCE__) && defined(__SMARTPHONE__)
-    SetLeftMenu(wxID_CANCEL);
+#if defined(__SMARTPHONE__)
+    // TODO: if flags turns more buttons then make right menu from ID
+    // to real menu with all the other IDs available. Perhaps that could be
+    // embedded in CreateButtonSizer() directly.
+    SetRightMenu(wxID_CANCEL);
     SetLeftMenu(wxID_OK);
 #elif !defined(__WXWINCE__)
     wxSizer* sizer = CreateButtonSizer(flags);