wxWidgets/include/wx
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
..
aui Add wxAuiPaneInfo::IsDockable(). 2010-11-03 16:36:34 +00:00
cocoa No real changes, just replace -1 with wxNOT_FOUND in wxBookCtrl code. 2010-10-27 16:54:24 +00:00
dfb Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
generic Add optional columns autosizing to wxDataViewCtrl. 2010-10-30 15:57:41 +00:00
gtk Don't duplicate event sending code in wxGTK wxListBox. 2010-10-27 23:22:00 +00:00
gtk1 No real changes, just replace -1 with wxNOT_FOUND in wxBookCtrl code. 2010-10-27 16:54:24 +00:00
html Remove hard limit on number of pages in wxHtmlPrintout. 2010-07-24 12:27:18 +00:00
meta Fix build with Borland C++ compiler. 2010-11-07 13:16:20 +00:00
mgl Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
motif Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
msdos get rid of wxMimeTypesManager::ReadMailcap and wxMimeTypesManager::ReadMimeTypes from old include files and from the docs. 2010-06-06 11:37:10 +00:00
msw Don't require skipping "page changed" event in wxMSW wxNotebook. 2010-11-07 19:33:10 +00:00
os2 Refactor: use wxBookCtrlBase::m_selection in all derived classes. 2010-10-27 16:54:36 +00:00
osx Fix preprocessor definitions for wxBase build under OS X. 2010-11-09 23:53:42 +00:00
palmos Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
persist
private Correct handling of %hs and %ls in our wxPrintf() implementation. 2010-09-30 14:30:35 +00:00
propgrid Fix build with Borland C++ compiler. 2010-11-07 13:16:20 +00:00
protocol Allow specifying non default port for wxFTP connections. 2010-06-17 22:30:31 +00:00
ribbon Add support for toggle buttons to wxRibbonButtonBar. 2010-11-07 13:44:22 +00:00
richtext Fixed #12566 (assert on deletion) due to inconsistent commit 2010-10-14 18:06:02 +00:00
stc Fix wxSTC compilation without wxUSE_DRAG_AND_DROP after r65827. 2010-10-17 18:17:30 +00:00
univ Refactor: use wxBookCtrlBase::m_selection in all derived classes. 2010-10-27 16:54:36 +00:00
unix Refactor: extract code to make an fd non-clocking into a function. 2010-11-02 11:57:19 +00:00
x11 Return wxFONTFAMILY_DEFAULT, not UNKNOWN, from wxFont::GetFamily(). 2010-09-29 13:46:09 +00:00
xml More efficient access to name and value 2010-10-06 13:15:24 +00:00
xrc Add support for id ranges to XRC. 2010-11-07 14:00:59 +00:00
aboutdlg.h
accel.h Don't return false from IsOk() for accelerators without flags. 2010-09-10 11:44:35 +00:00
access.h
afterstd.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
anidecod.h
animate.h
animdecod.h
any.h Made wxAny::IsNull() doc string a bit clearer 2010-06-18 13:32:12 +00:00
anystr.h
app.h Fix Cygwin 1.7 build. 2010-07-23 23:32:46 +00:00
apptrait.h
archive.h
arrimpl.cpp Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
arrstr.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
artprov.h
atomic.h
base64.h
beforestd.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
bitmap.h
bmpbuttn.h
bmpcbox.h Correction on previous commit: statement order corrected 2010-01-22 15:52:20 +00:00
bookctrl.h Avoid events when implicitly selecting first wxBookCtrl page. 2010-10-31 13:33:34 +00:00
brush.h Fix build with Borland C++ compiler. 2010-11-07 13:16:20 +00:00
buffer.h Fix wxScopedCharTypeBuffer<T>::CreateOwned() to match docs. 2010-05-05 07:45:33 +00:00
build.h Implement wx-prefixed macros versions of DECLARE/IMPLEMENT_APP_* macros. 2010-06-09 13:23:13 +00:00
busyinfo.h
button.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
cairo.h
calctrl.h
caret.h
chartype.h Fix build with Borland C++ compiler. 2010-11-07 13:16:20 +00:00
checkbox.h Relax validation of wxCheckBox flags. 2010-10-28 14:23:09 +00:00
checkeddelete.h
checklst.h Include wx/defs.h before testing for wxUSE_CHECKLISTBOX. 2010-08-08 11:35:55 +00:00
chkconf.h Add wxRichMessageDialog class. 2010-08-18 22:48:41 +00:00
choicdlg.h
choice.h
choicebk.h Refactor: use wxBookCtrlBase::m_selection in all derived classes. 2010-10-27 16:54:36 +00:00
clipbrd.h
clntdata.h
clrpicker.h
cmdargs.h
cmdline.h
cmdproc.h
cmndata.h
collpane.h
colordlg.h
colour.h Add wxTransparentColour global pseudo-variable. 2010-04-05 11:44:33 +00:00
combo.h Added wxComboCtrl::SetTextCtrlStyle() 2010-06-13 09:59:32 +00:00
combobox.h Add wxComboBox::Popup() and Dismiss() to manually show or hide its popup. 2010-01-24 01:00:45 +00:00
commandlinkbutton.h Don't use native MSW wxCommandLinkButton in wxUniversal. 2010-08-18 22:48:48 +00:00
confbase.h Add wxConfig::Read(float *) overload. 2010-05-29 10:35:38 +00:00
config.h
containr.h
control.h no real changes: just a small optimization on wxStaticText::DoSetLabel() to avoid altering m_labelOrig there (it's already modified by SetLabel(), no need to change it twice) 2010-03-28 22:23:38 +00:00
convauto.h Remove wxUSE_WCHAR_T checks. 2010-04-16 10:43:18 +00:00
cpp.h Fix build with Borland C++ compiler. 2010-11-07 13:16:20 +00:00
cppunit.h
crt.h
cshelp.h
ctrlsub.h Add wxItemContainer::DetachClientObject() and use it in wxRearrangeList. 2010-07-22 12:09:15 +00:00
cursor.h
dataobj.h Make wxDataObjectComposite::GetObject() public. 2010-02-04 01:02:43 +00:00
dataview.h Account for text attrs in generic wxDataViewCtrl's renderers. 2010-10-30 15:57:49 +00:00
datectrl.h
dateevt.h
datetime.h Make wxDateTime::Tm::yday public and document it. 2010-09-26 22:11:21 +00:00
datstrm.h
dc.h
dcbuffer.h
dcclient.h
dcgraph.h
dcmemory.h
dcmirror.h
dcprint.h
dcps.h
dcscreen.h
dcsvg.h
dde.h
debug.h Implement wx-prefixed macros versions of DECLARE/IMPLEMENT_APP_* macros. 2010-06-09 13:23:13 +00:00
debugrpt.h
defs.h Fix build with Borland C++ compiler. 2010-11-07 13:16:20 +00:00
dialog.h Use the same logic for closing dialogs as for handling Escape key. 2010-09-09 20:53:26 +00:00
dialup.h
dir.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
dirctrl.h
dirdlg.h
display_impl.h
display.h
dlimpexp.h
dlist.h
dnd.h
docmdi.h Refactor wxDocParentFrame and wxDocMDIParentFrame to share common base class. 2010-05-12 14:34:18 +00:00
docview.h Add wxDocManager::FindTemplate() method. 2010-10-24 23:03:38 +00:00
dragimag.h
dvrenderers.h Add wxDataViewRendererBase::PrepareForItem() helper. 2010-10-30 15:57:55 +00:00
dynarray.h
dynlib.h Don't include wx/msw/private.h from dynlib.h. 2010-04-25 12:07:37 +00:00
dynload.h
editlbox.h
effects.h
encconv.h Remove wxUSE_WCHAR_T checks. 2010-04-16 10:43:18 +00:00
encinfo.h
event.h Fix wx/event.h compilation with Sun CC compiler. 2010-09-27 12:55:22 +00:00
evtloop.h Fix Cygwin 1.7 build. 2010-07-23 23:32:46 +00:00
evtloopsrc.h no real change: just fix RCS-ID so that it reflects the current revision number 2010-04-25 21:33:16 +00:00
except.h Don't redefine wxNO_EXCEPTIONS in wx/except.h if it's already defined. 2010-07-17 11:55:10 +00:00
fdrepdlg.h
features.h
ffile.h
file.h Move wxPosixPermissions definition from wx/file.h to wx/filefn.h. 2010-02-10 11:38:41 +00:00
fileconf.h
filectrl.h Add "filter changed" event to wxFileCtrl. 2010-05-29 10:35:47 +00:00
filedlg.h
filefn.h Fix Cygwin 1.7 build. 2010-07-23 23:32:46 +00:00
filehistory.h Integrate with GNOME's Recent Documents menu. 2010-05-07 06:45:48 +00:00
filename.h fix typos introduced by error in r63870 (see #10673) 2010-04-06 22:51:11 +00:00
filepicker.h
filesys.h
flags.h
fmappriv.h
font.h Fix build with Borland C++ compiler. 2010-11-07 13:16:20 +00:00
fontdlg.h
fontenc.h Added wxFONTENCODING_EUC_KR alias for wxFONTENCODING_CP949. 2010-07-23 23:32:40 +00:00
fontenum.h
fontmap.h
fontpicker.h
fontutil.h trying to simplify and optimize font handling 2010-04-08 21:39:14 +00:00
frame.h No changes, just added comments summarizing the use of style bits. 2010-05-10 21:09:50 +00:00
fs_arc.h
fs_filter.h
fs_inet.h
fs_mem.h
fs_zip.h
fswatcher.h
gauge.h
gbsizer.h
gdicmn.h Add wxPoint::IsFullySpecified() and SetDefaults(). 2010-08-11 16:03:51 +00:00
gdiobj.h
geometry.h
gifdecod.h
glcanvas.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
graphics.h Added wxGraphicsContext::Create(const wxEnhMetaFileDC& dc) so that wxPrintPreview can work with wxMSW's wxGraphicsContext (closes #12028) 2010-05-13 08:22:36 +00:00
grid.h
hash.h
hashmap.h
hashset.h
headercol.h Add optional columns autosizing to wxDataViewCtrl. 2010-10-30 15:57:41 +00:00
headerctrl.h
help.h
helpbase.h
helphtml.h
helpwin.h
htmllbox.h
hyperlink.h Only use native wxHyperlinkCtrl in Unicode build under MSW. 2010-08-18 22:48:53 +00:00
icon.h
iconbndl.h Fix compilation of wxIconBundle in some particular minimal builds. 2010-04-12 00:36:31 +00:00
iconloc.h
imagbmp.h
image.h Changed wxImage::ConvertAlphaToMask() return type to bool. 2010-11-02 11:57:09 +00:00
imaggif.h
imagiff.h
imagjpeg.h
imaglist.h Include wx/defs.h from all our public headers, including wx/imaglist.h. 2010-02-25 00:03:53 +00:00
imagpcx.h
imagpng.h
imagpnm.h
imagtga.h
imagtiff.h
imagxpm.h
infobar.h Move wxInfoBar to core library from adv. 2010-05-05 12:20:08 +00:00
init.h Implement wx-prefixed macros versions of DECLARE/IMPLEMENT_APP_* macros. 2010-06-09 13:23:13 +00:00
intl.h Don't use size_t for plural forms parameter. 2010-05-05 12:27:07 +00:00
iosfwrap.h
ioswrap.h
ipc.h
ipcbase.h
joystick.h
kbdstate.h
language.h Added wxLANGUAGE_BOSNIAN. 2010-05-06 12:40:11 +00:00
layout.h
laywin.h
link.h
list.h Move wxList::Member() to pseudo-template base list class. 2010-10-10 12:48:36 +00:00
listbase.h
listbook.h Refactor: use wxBookCtrlBase::m_selection in all derived classes. 2010-10-27 16:54:36 +00:00
listbox.h Don't send SELECTED events for an already selected item in wxGTK wxListBox. 2010-10-27 23:21:55 +00:00
listctrl.h
listimpl.cpp
log.h Implement wx-prefixed macros versions of DECLARE/IMPLEMENT_APP_* macros. 2010-06-09 13:23:13 +00:00
longlong.h
math.h Fix wxMulDivInt32() to round the result like win32 MulDiv() does. 2010-01-19 22:02:59 +00:00
matrix.h
mdi.h
mediactrl.h Implement wx-prefixed macros versions of DECLARE_EVENT_TABLE, BEGIN_EVENT_TABLE* and END_EVENT_TABLE macros. 2010-06-09 14:28:08 +00:00
memconf.h
memory.h
memtext.h
menu.h Set popup menu invoking window in wxWindowBase and not in all ports. 2010-04-26 14:19:17 +00:00
menuitem.h
metafile.h
mimetype.h Add non-vararg wxFileTypeInfo ctor and various setters. 2010-10-01 13:05:42 +00:00
minifram.h
module.h
mousemanager.h
mousestate.h Add missing header required if wx/mousestate.h is included first. 2010-08-22 22:15:07 +00:00
msgdlg.h Allow using custom labels for wxGenericMessageDialog buttons. 2010-08-30 21:48:21 +00:00
msgout.h
msgqueue.h Added wxMessageQueue::Clear(). 2010-05-22 16:14:16 +00:00
mstream.h
nativewin.h
nonownedwnd.h
notebook.h No real changes, just replace -1 with wxNOT_FOUND in wxBookCtrl code. 2010-10-27 16:54:24 +00:00
notifmsg.h
numdlg.h
object.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
odcombo.h Supress SetFocus() warning in wxVListBoxComboPopup 2010-05-09 10:29:48 +00:00
overlay.h
ownerdrw.h Compilation fixes for PCH-less build after ownerdraw-refactor branch merge. 2010-01-26 09:01:13 +00:00
palette.h
panel.h
paper.h
pen.h Fix build with Borland C++ compiler. 2010-11-07 13:16:20 +00:00
persist.h Optionally set the window name in wxPersistentRegisterAndRestore(). 2010-07-11 10:44:23 +00:00
pickerbase.h
platform.h Fix preprocessor definitions for wxBase build under OS X. 2010-11-09 23:53:42 +00:00
platinfo.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
popupwin.h Globally use "wxWindows licence" consistently. 2010-07-13 13:29:13 +00:00
position.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
power.h
print.h
printdlg.h
prntbase.h Translate strings used in doc-view printing code. 2010-05-31 14:59:03 +00:00
process.h
progdlg.h Use task dialog for wxProgressDialog implementation in wxMSW. 2010-08-18 22:49:02 +00:00
propdlg.h
ptr_scpd.h
ptr_shrd.h
quantize.h
radiobox.h Include wx/defs.h before testing for wxUSE_RADIOBOX. 2010-09-29 13:45:51 +00:00
radiobut.h
rawbmp.h Fix build with Borland C++ compiler. 2010-11-07 13:16:20 +00:00
rearrangectrl.h
recguard.h
regex.h
region.h
renderer.h Add wxRenderer::GetHeaderButtonMargin(). 2010-10-30 15:57:32 +00:00
richmsgdlg.h Add wxRichMessageDialog class. 2010-08-18 22:48:41 +00:00
sashwin.h
sckaddr.h
sckipc.h
sckstrm.h
scopedarray.h
scopedptr.h Move wxScopedPtr::reset() implementation to wxDEFINE_SCOPED_PTR. 2010-05-06 05:43:01 +00:00
scopeguard.h Remove wxHAS_NAMESPACES and gcc 2.95 checks. 2010-02-12 22:47:21 +00:00
scrolbar.h
scrolwin.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
selstore.h
settings.h
setup_gccxml.h
setup_inc.h Merge wxUIActionSimulator fixes from SOC2010_GUI_TEST branch. 2010-08-22 22:15:42 +00:00
setup_redirect.h
sharedptr.h
sizer.h Rearrange functions order so that they are effectively inlined. 2010-02-28 11:09:02 +00:00
slider.h
snglinst.h
socket.h
sound.h
spinbutt.h
spinctrl.h
splash.h
splitter.h
srchctrl.h
sstream.h Override IsSeekable() in wxString{Input,Output}Stream to return true. 2010-01-24 11:33:17 +00:00
stack.h
stackwalk.h fix couple of typos 2010-06-26 11:43:13 +00:00
statbmp.h
statbox.h
statline.h
stattext.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
statusbr.h
stdpaths.h Fix typo in wxStandardPathsBase::ResourceCat description and document it. 2010-09-27 11:51:50 +00:00
stdstream.h Only compile wxStd{Input,Output}Stream if wxUSE_STREAMS==1. 2010-07-12 22:50:51 +00:00
stockitem.h Extract wxSTOCK_WITHOUT_ELLIPSIS from wxSTOCK_FOR_BUTTON. 2010-02-04 01:33:32 +00:00
stopwatch.h
strconv.h Remove wxUSE_WCHAR_T checks. 2010-04-16 10:43:18 +00:00
stream.h
string.h Compilation fix for wxUSE_UNICODE_WCHAR && !wxUSE_STL_BASED_WXSTRING. 2010-10-26 15:11:00 +00:00
stringimpl.h
stringops.h
strvararg.h Fix harmless unused parameter warnings in wxDEBUG_LEVEL==0 build. 2010-07-22 13:42:49 +00:00
sysopt.h
tarstrm.h
taskbar.h
tbarbase.h Respect wxUSE_MENUS in toolbar base classes 2010-07-08 17:35:04 +00:00
textbuf.h
textctrl.h wxRTC no longer derives from wxTextCtrlBase; added wxRichTextAttr deriving from wxTextAttr 2010-10-04 08:37:31 +00:00
textdlg.h
textentry.h Update the text hint display correctly when ChangeValue() is called. 2010-09-15 22:10:20 +00:00
textfile.h
textwrapper.h Make the main message of wxGenericMessageDialog stand out. 2010-08-19 15:41:18 +00:00
tglbtn.h Add wxHAS_BITMAPTOGGLEBUTTON and test for it in the unit test. 2010-10-01 13:05:36 +00:00
thread.h Added wxThread::OnKill() and OnDelete() callbacks. 2010-10-23 14:10:12 +00:00
thrimpl.cpp
timer.h
tipdlg.h
tipwin.h
tls.h Disable the use of __thread with MinGW. 2010-10-03 17:16:15 +00:00
tokenzr.h
toolbar.h
toolbook.h Refactor: use wxBookCtrlBase::m_selection in all derived classes. 2010-10-27 16:54:36 +00:00
tooltip.h
toplevel.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
tracker.h
translation.h Add wxTranslations::GetAvailableTranslations(). 2010-06-16 14:09:32 +00:00
treebase.h
treebook.h Refactor: use wxBookCtrlBase::m_selection in all derived classes. 2010-10-27 16:54:36 +00:00
treectrl.h Implement wx-prefixed macros versions of DECLARE/IMPLEMENT*CLASS macros. 2010-06-09 13:55:48 +00:00
txtstrm.h
typeinfo.h No changes whatsoever, just remove trailing whitespace. 2010-09-30 11:44:45 +00:00
types.h
uiaction.h Explicitly send events for modifier keys in wxUIActionSimulator. 2010-09-11 10:18:15 +00:00
unichar.h
uri.h
url.h Committing modified version of jwiesemann's patch (see #11223): 2010-03-30 21:38:31 +00:00
ustring.h Make wxUString compilable with VC6. 2010-10-24 23:06:11 +00:00
utils.h Fix warnings about signed/unsigned comparisons inside wxMax() and friends. 2010-10-27 20:23:55 +00:00
valgen.h
validate.h
valtext.h
variant.h Added wxVariant::Convert() implementations for wx(U)LongLong_t, so that wxVariant can be converted to native 64-bit integer types on the same terms as it is converted to other numeric types (useful in e.g. template functions) 2010-07-25 09:30:50 +00:00
vector.h Fix build with Borland C++ compiler. 2010-11-07 13:16:20 +00:00
version.h Replace 2.9.1 version with 2.9.2. 2010-07-22 12:09:04 +00:00
vidmode.h
vlbox.h
vms_x_fix.h
volume.h
vscroll.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
weakref.h Fix using weak references to incomplete classes. 2010-04-15 22:47:37 +00:00
wfstream.h Override some methods in wxF(F)ileStream to resolve ambiguities. 2009-12-27 19:39:55 +00:00
window.h Add default value for GetPopupMenuSelectionFromUser() position argument. 2010-09-30 14:33:53 +00:00
windowid.h
wizard.h Added EVT_WIZARD_PAGE_SHOWN event for wxWizard, to give apps 2010-01-25 18:48:21 +00:00
wrapsizer.h
wupdlock.h
wx_cw_cm.h
wx_cw_d.h
wx_cw.h
wx_cwc_d.h
wx_cwc.h
wx_cwcocoa_cm.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
wx_cwcocoa_d.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
wx_cwcocoa.h Fix file paths in the header comments. 2010-07-13 13:29:58 +00:00
wx_cwu_d.h
wx.h
wxchar.h
wxcrt.h Remove wxUSE_WCHAR_T checks. 2010-04-16 10:43:18 +00:00
wxcrtbase.h build fix for IRIX 2010-03-29 06:45:00 +00:00
wxcrtvararg.h
wxhtml.h
wxprec.h
wxshlb_cw_d.h
wxshlb_cw.h
wxshlb_cwc_d.h
wxshlb_cwc.h
wxshlba_cw_d.h
wxshlba_cw.h
wxshlba_cwc_d.h
wxshlba_cwc.h
xlocale.h Define wxStrto{d,l,ul}_l() functions in non-Unicode build too. 2010-04-22 14:16:12 +00:00
xpmdecod.h
xpmhand.h
xti.h
xtistrm.h
xtixml.h
zipstrm.h
zstream.h