]> git.saurik.com Git - wxWidgets.git/commitdiff
if wxUSE_XXX fixes
authorRyan Norton <wxprojects@comcast.net>
Sun, 20 Feb 2005 09:33:04 +0000 (09:33 +0000)
committerRyan Norton <wxprojects@comcast.net>
Sun, 20 Feb 2005 09:33:04 +0000 (09:33 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32239 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/cocoa/bmpbuttn.mm
src/cocoa/checkbox.mm
src/cocoa/checklst.mm
src/cocoa/choice.mm
src/cocoa/listbox.mm
src/cocoa/mdi.mm
src/cocoa/radiobox.mm
src/cocoa/radiobut.mm

index 63252c28f41f144ee6c7c802ad059501806fe992..5081c6a5ac1bb730a93b14bdcea4f36f92ee204c 100644 (file)
@@ -10,6 +10,9 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
+
+#if wxUSE_BMPBUTTON
+
 #ifndef WX_PRECOMP
     #include "wx/defs.h"
     #include "wx/bmpbuttn.h"
@@ -66,3 +69,4 @@ void wxBitmapButton::Cocoa_wxNSButtonAction(void)
     Command(event);
 }
 
+#endif
index 07f7332b90507ca3c3fb1e8438dd4093d43acd38..d5f21852a6bc8ae072750931a85c170a419d0538 100644 (file)
@@ -10,6 +10,9 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
+
+#if wxUSE_CHECKBOX
+
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/app.h"
@@ -133,3 +136,4 @@ void wxCheckBox::Cocoa_wxNSButtonAction(void)
     Command(event);
 }
 
+#endif
\ No newline at end of file
index 2cfcc8b3e53fc93b9fea83ca904c06e8bd9a4150..dbc40bc0788363a4a06e25e6f1479334f5f37969 100644 (file)
@@ -10,6 +10,9 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
+
+#if wxUSE_CHECKLISTBOX
+
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/app.h"
@@ -65,3 +68,4 @@ void wxCheckListBox::Check(size_t item, bool check)
 {
 }
 
+#endif
\ No newline at end of file
index 11e94454e61c948c2cf9312fe6c3bc8e9d2a9b6e..e5c2431dc83d93895172f5b4cb85ffb3c31073fc 100644 (file)
@@ -10,6 +10,9 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
+
+#if wxUSE_CHOICE
+
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/app.h"
@@ -240,3 +243,4 @@ void wxChoice::SetSelection(int n)
     [(NSPopUpButton*)m_cocoaNSView selectItemAtIndex:n];
 }
 
+#endif
index b488e5aa4d795361e4b17330cd7b7cbe03751ebb..59e96c6d6281f78340b1059cfccf1ce9a44d9937 100644 (file)
@@ -10,6 +10,9 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
+
+#if wxUSE_LISTBOX
+
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/app.h"
@@ -280,3 +283,4 @@ wxClientData* wxListBox::DoGetItemClientObject(int n) const
     return (wxClientData*) m_itemClientData[n];
 }
 
+#endif
\ No newline at end of file
index da1375de1ebecf1ba3c91d33b46d894fdb6ecabd..015445cccd8dfc378c3dc8769ac507a799d31d79 100644 (file)
@@ -10,6 +10,9 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
+
+#if wxUSE_MDI
+
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/mdi.h"
@@ -333,3 +336,4 @@ bool wxMDIClientWindow::CreateClient( wxMDIParentFrame *parent, long style)
     return false;
 }
 
+#endif
index 63528324771a471f1af19034517be84781cd7559..89f9b0bbe53f537530b6974315a691f0e546ce15 100644 (file)
@@ -10,6 +10,9 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
+
+#if wxUSE_RADIOBOX
+
 #ifndef WX_PRECOMP
     #include "wx/app.h"
     #include "wx/radiobox.h"
@@ -112,3 +115,5 @@ wxSize wxRadioBox::DoGetBestSize() const
     return wxSize(50,50);
 }
 
+#endif
+
index 4962d81f45abee5d79fa7a0b8ec25513b1d58fef..2384a73787750df9f8cd6db4c53617e357516159 100644 (file)
@@ -10,6 +10,9 @@
 /////////////////////////////////////////////////////////////////////////////
 
 #include "wx/wxprec.h"
+
+#if wxUSE_RADIOBTN
+
 #ifndef WX_PRECOMP
     #include "wx/log.h"
     #include "wx/app.h"
@@ -158,3 +161,4 @@ void wxRadioButton::Cocoa_wxNSButtonAction(void)
     Command(event);
 }
 
+#endif