]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/choice.cpp
make sure we have a default handling the quit command, see #12402
[wxWidgets.git] / src / osx / carbon / choice.cpp
index 00eb309d38a003469133c1884f4eb59c7236fbbc..4bacff29a7072eae53c4fb35aac61ed3851e1eac 100644 (file)
@@ -30,26 +30,26 @@ public :
     wxMacChoiceCarbonControl( wxWindowMac* peer ) : wxMacControl( peer )
     {
     }
-    
+
     void SetValue(wxInt32 v)
     {
         wxMacControl::SetValue( v + 1 );
     }
-    
-    wxInt32 GetValue()
+
+    wxInt32 GetValue() const
     {
         return wxMacControl::GetValue() - 1;
     }
  };
 
-wxWidgetImplType* wxWidgetImpl::CreateChoice( wxWindowMac* wxpeer, 
-                                    wxWindowMac* parent, 
-                                    wxWindowID id, 
+wxWidgetImplType* wxWidgetImpl::CreateChoice( wxWindowMac* wxpeer,
+                                    wxWindowMac* parent,
+                                    wxWindowID WXUNUSED(id),
                                     wxMenu* menu,
-                                    const wxPoint& pos, 
+                                    const wxPoint& pos,
                                     const wxSize& size,
-                                    long style, 
-                                    long extraStylew)
+                                    long WXUNUSED(style),
+                                    long WXUNUSED(extraStyle))
 {
     Rect bounds = wxMacGetBoundsForControl( wxpeer , pos , size );