wxWidgets/include/wx/osx
Vadim Zeitlin 382c4adea6 Fix preprocessor definitions for wxBase build under OS X.
Define __WXOSX__ for non-GUI build under Darwin. Ensure that the rest of the
code compiles correctly when just __WXOSX__ is defined but neither of
__WXOSX_{CARBON,COCOA,IPHONE}__ is. This ensures that wxBase can actually be
built under Mac.

Move OS X symbols definitions in wx/platform.h after wx/setup.h inclusion as
they rely on __DARWIN__ and wxUSE_GUI values which are both define in that
file now. Still keep them before wx/chkconf.h inclusion which relies on
__WXOSX_XXX__ being defined. Yes, it's a mess and should be cleaned up more
permanently some day.

Also remove some redundancy from wx/osx/{carbon,cocoa}/private.h by factoring
out common parts into wx/osx/core/private.h. Also include this header itself
from wx/osx/private.h directly instead of including it thrice from different
sub-ports headers.

Closes #12660.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2010-11-09 23:53:42 +00:00
..
carbon Fix preprocessor definitions for wxBase build under OS X. 2010-11-09 23:53:42 +00:00
cocoa Fix preprocessor definitions for wxBase build under OS X. 2010-11-09 23:53:42 +00:00
core Fix preprocessor definitions for wxBase build under OS X. 2010-11-09 23:53:42 +00:00
iphone Fix preprocessor definitions for wxBase build under OS X. 2010-11-09 23:53:42 +00:00
private No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
accel.h
app.h
bitmap.h
bmpbuttn.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
brush.h
button.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
checkbox.h
checklst.h
chkconf.h Fix preprocessor definitions for wxBase build under OS X. 2010-11-09 23:53:42 +00:00
choice.h
clipbrd.h
colordlg.h
colour.h
combobox.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
config_xcode.h
control.h
cursor.h
dataform.h
dataobj2.h
dataobj.h
dataview.h Add wxDataViewCtrl::{Set,Get}CurrentItem(). 2010-08-10 12:53:03 +00:00
dc.h
dcclient.h
dcmemory.h
dcprint.h
dcscreen.h
dialog.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
dirdlg.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
dnd.h
dvrenderer.h
dvrenderers.h
evtloop.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
evtloopsrc.h
filedlg.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
font.h Remove trailing comma from an enum. 2010-11-05 21:43:07 +00:00
fontdlg.h
frame.h
gauge.h
glcanvas.h
helpxxxx.h
icon.h Add wxIcon::GetSize() to wxIcon in wxOSX. 2010-10-23 21:47:22 +00:00
imaglist.h
joystick.h
listbox.h wxOSX/Carbon compilation fix after wxListBoxBase changes. 2010-10-28 10:27:32 +00:00
listctrl.h Connect to events only if using native implementation instead of using event table. Closes #12469 2010-10-02 09:39:58 +00:00
mdi.h
menu.h
menuitem.h
metafile.h
mimetype.h
minifram.h
msgdlg.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
nonownedwnd.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
notebook.h wxOSX compilation fix: remove just added extra semicolon. 2010-10-27 21:41:55 +00:00
palette.h
pen.h
pnghand.h
pngread.h
popupwin.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
printdlg.h
printmac.h
private.h Fix preprocessor definitions for wxBase build under OS X. 2010-11-09 23:53:42 +00:00
radiobox.h
radiobut.h
region.h
scrolbar.h
setup0.h Merge wxUIActionSimulator fixes from SOC2010_GUI_TEST branch. 2010-08-22 22:15:42 +00:00
slider.h
sound.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
spinbutt.h
spinctrl.h
srchctrl.h
statbmp.h
statbox.h
statline.h
stattext.h
statusbr.h
taskbarosx.h
textctrl.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
textentry.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
tglbtn.h
toolbar.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
tooltip.h
toplevel.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
treectrl.h
uma.h
window.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00