]> git.saurik.com Git - wxWidgets.git/commitdiff
substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DA...
authorFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 26 Mar 2008 15:06:00 +0000 (15:06 +0000)
committerFrancesco Montorsi <f18m_cpp217828@yahoo.it>
Wed, 26 Mar 2008 15:06:00 +0000 (15:06 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

638 files changed:
include/wx/accel.h
include/wx/access.h
include/wx/anidecod.h
include/wx/apptrait.h
include/wx/artprov.h
include/wx/bitmap.h
include/wx/bmpbuttn.h
include/wx/bookctrl.h
include/wx/brush.h
include/wx/button.h
include/wx/caret.h
include/wx/checkbox.h
include/wx/checklst.h
include/wx/choice.h
include/wx/choicebk.h
include/wx/clipbrd.h
include/wx/clrpicker.h
include/wx/cmdproc.h
include/wx/cmndata.h
include/wx/cocoa/app.h
include/wx/cocoa/bitmap.h
include/wx/cocoa/bmpbuttn.h
include/wx/cocoa/brush.h
include/wx/cocoa/button.h
include/wx/cocoa/checkbox.h
include/wx/cocoa/checklst.h
include/wx/cocoa/choice.h
include/wx/cocoa/colour.h
include/wx/cocoa/combobox.h
include/wx/cocoa/control.h
include/wx/cocoa/cursor.h
include/wx/cocoa/dcmemory.h
include/wx/cocoa/dcscreen.h
include/wx/cocoa/dialog.h
include/wx/cocoa/dirdlg.h
include/wx/cocoa/filedlg.h
include/wx/cocoa/font.h
include/wx/cocoa/frame.h
include/wx/cocoa/gauge.h
include/wx/cocoa/icon.h
include/wx/cocoa/listbox.h
include/wx/cocoa/mbarman.h
include/wx/cocoa/mdi.h
include/wx/cocoa/menu.h
include/wx/cocoa/menuitem.h
include/wx/cocoa/msgdlg.h
include/wx/cocoa/notebook.h
include/wx/cocoa/pen.h
include/wx/cocoa/private/timer.h
include/wx/cocoa/radiobox.h
include/wx/cocoa/radiobut.h
include/wx/cocoa/region.h
include/wx/cocoa/scrolbar.h
include/wx/cocoa/slider.h
include/wx/cocoa/spinbutt.h
include/wx/cocoa/statbmp.h
include/wx/cocoa/statbox.h
include/wx/cocoa/statline.h
include/wx/cocoa/stattext.h
include/wx/cocoa/textctrl.h
include/wx/cocoa/toplevel.h
include/wx/cocoa/window.h
include/wx/colordlg.h
include/wx/colour.h
include/wx/combo.h
include/wx/combobox.h
include/wx/containr.h
include/wx/control.h
include/wx/cshelp.h
include/wx/ctrlsub.h
include/wx/dataobj.h
include/wx/dc.h
include/wx/dcgraph.h
include/wx/dcmirror.h
include/wx/dialog.h
include/wx/dialup.h
include/wx/dirdlg.h
include/wx/display.h
include/wx/display_impl.h
include/wx/dlimpexp.h
include/wx/dnd.h
include/wx/docmdi.h
include/wx/docview.h
include/wx/dynarray.h
include/wx/effects.h
include/wx/encinfo.h
include/wx/evtloop.h
include/wx/fdrepdlg.h
include/wx/filectrl.h
include/wx/filedlg.h
include/wx/filepicker.h
include/wx/font.h
include/wx/fontdlg.h
include/wx/fontenum.h
include/wx/fontpicker.h
include/wx/fontutil.h
include/wx/frame.h
include/wx/gauge.h
include/wx/gbsizer.h
include/wx/gdicmn.h
include/wx/generic/accel.h
include/wx/generic/busyinfo.h
include/wx/generic/buttonbar.h
include/wx/generic/caret.h
include/wx/generic/choicdgg.h
include/wx/generic/colour.h
include/wx/generic/colrdlgg.h
include/wx/generic/combo.h
include/wx/generic/dcpsg.h
include/wx/generic/dirctrlg.h
include/wx/generic/dirdlgg.h
include/wx/generic/dragimgg.h
include/wx/generic/fdrepdlg.h
include/wx/generic/filectrlg.h
include/wx/generic/filedlgg.h
include/wx/generic/filepickerg.h
include/wx/generic/fontdlgg.h
include/wx/generic/imaglist.h
include/wx/generic/listctrl.h
include/wx/generic/logg.h
include/wx/generic/mask.h
include/wx/generic/mdig.h
include/wx/generic/msgdlgg.h
include/wx/generic/numdlgg.h
include/wx/generic/panelg.h
include/wx/generic/printps.h
include/wx/generic/prntdlgg.h
include/wx/generic/progdlgg.h
include/wx/generic/region.h
include/wx/generic/spinctlg.h
include/wx/generic/splitter.h
include/wx/generic/srchctlg.h
include/wx/generic/statline.h
include/wx/generic/statusbr.h
include/wx/generic/tabg.h
include/wx/generic/textdlgg.h
include/wx/generic/treectlg.h
include/wx/geometry.h
include/wx/gifdecod.h
include/wx/graphics.h
include/wx/gtk/colordlg.h
include/wx/gtk/filectrl.h
include/wx/gtk/msgdlg.h
include/wx/gtk/scrolwin.h
include/wx/gtk/treectrl.h
include/wx/gtk1/colordlg.h
include/wx/gtk1/combobox.h
include/wx/gtk1/mdi.h
include/wx/gtk1/msgdlg.h
include/wx/gtk1/scrolwin.h
include/wx/gtk1/treectrl.h
include/wx/hash.h
include/wx/hashmap.h
include/wx/hashset.h
include/wx/helpbase.h
include/wx/icon.h
include/wx/iconbndl.h
include/wx/imagbmp.h
include/wx/image.h
include/wx/imaggif.h
include/wx/imagiff.h
include/wx/imagjpeg.h
include/wx/imagpcx.h
include/wx/imagpng.h
include/wx/imagpnm.h
include/wx/imagtga.h
include/wx/imagtiff.h
include/wx/imagxpm.h
include/wx/layout.h
include/wx/list.h
include/wx/listbase.h
include/wx/listbook.h
include/wx/listbox.h
include/wx/listctrl.h
include/wx/mac/carbon/accel.h
include/wx/mac/carbon/app.h
include/wx/mac/carbon/apptrait.h
include/wx/mac/carbon/bitmap.h
include/wx/mac/carbon/bmpbuttn.h
include/wx/mac/carbon/brush.h
include/wx/mac/carbon/button.h
include/wx/mac/carbon/checkbox.h
include/wx/mac/carbon/checklst.h
include/wx/mac/carbon/choice.h
include/wx/mac/carbon/clipbrd.h
include/wx/mac/carbon/colordlg.h
include/wx/mac/carbon/colour.h
include/wx/mac/carbon/combobox.h
include/wx/mac/carbon/control.h
include/wx/mac/carbon/cursor.h
include/wx/mac/carbon/dataform.h
include/wx/mac/carbon/dataobj.h
include/wx/mac/carbon/dataobj2.h
include/wx/mac/carbon/dcclient.h
include/wx/mac/carbon/dcmemory.h
include/wx/mac/carbon/dcprint.h
include/wx/mac/carbon/dcscreen.h
include/wx/mac/carbon/dialog.h
include/wx/mac/carbon/dirdlg.h
include/wx/mac/carbon/dnd.h
include/wx/mac/carbon/evtloop.h
include/wx/mac/carbon/filedlg.h
include/wx/mac/carbon/font.h
include/wx/mac/carbon/fontdlg.h
include/wx/mac/carbon/frame.h
include/wx/mac/carbon/gauge.h
include/wx/mac/carbon/helpxxxx.h
include/wx/mac/carbon/icon.h
include/wx/mac/carbon/imaglist.h
include/wx/mac/carbon/listbox.h
include/wx/mac/carbon/listctrl.h
include/wx/mac/carbon/mdi.h
include/wx/mac/carbon/menu.h
include/wx/mac/carbon/menuitem.h
include/wx/mac/carbon/metafile.h
include/wx/mac/carbon/minifram.h
include/wx/mac/carbon/msgdlg.h
include/wx/mac/carbon/nonownedwnd.h
include/wx/mac/carbon/palette.h
include/wx/mac/carbon/pen.h
include/wx/mac/carbon/pnghand.h
include/wx/mac/carbon/popupwin.h
include/wx/mac/carbon/printdlg.h
include/wx/mac/carbon/printmac.h
include/wx/mac/carbon/private.h
include/wx/mac/carbon/private/print.h
include/wx/mac/carbon/private/timer.h
include/wx/mac/carbon/radiobox.h
include/wx/mac/carbon/radiobut.h
include/wx/mac/carbon/region.h
include/wx/mac/carbon/scrolbar.h
include/wx/mac/carbon/slider.h
include/wx/mac/carbon/spinbutt.h
include/wx/mac/carbon/spinctrl.h
include/wx/mac/carbon/srchctrl.h
include/wx/mac/carbon/statbmp.h
include/wx/mac/carbon/statbox.h
include/wx/mac/carbon/statline.h
include/wx/mac/carbon/stattext.h
include/wx/mac/carbon/statusbr.h
include/wx/mac/carbon/tabctrl.h
include/wx/mac/carbon/textctrl.h
include/wx/mac/carbon/tglbtn.h
include/wx/mac/carbon/toolbar.h
include/wx/mac/carbon/toplevel.h
include/wx/mac/carbon/treectrl.h
include/wx/mac/carbon/window.h
include/wx/matrix.h
include/wx/menu.h
include/wx/menuitem.h
include/wx/mgl/app.h
include/wx/mgl/bitmap.h
include/wx/mgl/brush.h
include/wx/mgl/clipbrd.h
include/wx/mgl/cursor.h
include/wx/mgl/dc.h
include/wx/mgl/dcclient.h
include/wx/mgl/dcmemory.h
include/wx/mgl/dcscreen.h
include/wx/mgl/font.h
include/wx/mgl/palette.h
include/wx/mgl/pen.h
include/wx/mgl/popupwin.h
include/wx/mgl/region.h
include/wx/mgl/window.h
include/wx/motif/accel.h
include/wx/motif/app.h
include/wx/motif/bmpbuttn.h
include/wx/motif/bmpmotif.h
include/wx/motif/button.h
include/wx/motif/checkbox.h
include/wx/motif/choice.h
include/wx/motif/clipbrd.h
include/wx/motif/colour.h
include/wx/motif/combobox.h
include/wx/motif/control.h
include/wx/motif/cursor.h
include/wx/motif/dc.h
include/wx/motif/dcclient.h
include/wx/motif/dcprint.h
include/wx/motif/dcscreen.h
include/wx/motif/dialog.h
include/wx/motif/dnd.h
include/wx/motif/filedlg.h
include/wx/motif/frame.h
include/wx/motif/gauge.h
include/wx/motif/icon.h
include/wx/motif/listbox.h
include/wx/motif/mdi.h
include/wx/motif/minifram.h
include/wx/motif/msgdlg.h
include/wx/motif/print.h
include/wx/motif/private/timer.h
include/wx/motif/radiobox.h
include/wx/motif/radiobut.h
include/wx/motif/scrolbar.h
include/wx/motif/slider.h
include/wx/motif/spinbutt.h
include/wx/motif/statbmp.h
include/wx/motif/statbox.h
include/wx/motif/stattext.h
include/wx/motif/textctrl.h
include/wx/motif/tglbtn.h
include/wx/motif/toolbar.h
include/wx/motif/window.h
include/wx/msgdlg.h
include/wx/msw/accel.h
include/wx/msw/app.h
include/wx/msw/bitmap.h
include/wx/msw/bmpbuttn.h
include/wx/msw/brush.h
include/wx/msw/button.h
include/wx/msw/caret.h
include/wx/msw/checkbox.h
include/wx/msw/checklst.h
include/wx/msw/choice.h
include/wx/msw/clipbrd.h
include/wx/msw/colordlg.h
include/wx/msw/colour.h
include/wx/msw/combo.h
include/wx/msw/combobox.h
include/wx/msw/control.h
include/wx/msw/ctrlsub.h
include/wx/msw/cursor.h
include/wx/msw/dc.h
include/wx/msw/dcclient.h
include/wx/msw/dcmemory.h
include/wx/msw/dcprint.h
include/wx/msw/dcscreen.h
include/wx/msw/dialog.h
include/wx/msw/dib.h
include/wx/msw/dirdlg.h
include/wx/msw/dragimag.h
include/wx/msw/enhmeta.h
include/wx/msw/fdrepdlg.h
include/wx/msw/filedlg.h
include/wx/msw/font.h
include/wx/msw/fontdlg.h
include/wx/msw/frame.h
include/wx/msw/gauge.h
include/wx/msw/gdiimage.h
include/wx/msw/helpchm.h
include/wx/msw/helpwin.h
include/wx/msw/icon.h
include/wx/msw/imaglist.h
include/wx/msw/iniconf.h
include/wx/msw/listbox.h
include/wx/msw/listctrl.h
include/wx/msw/mdi.h
include/wx/msw/menu.h
include/wx/msw/menuitem.h
include/wx/msw/metafile.h
include/wx/msw/minifram.h
include/wx/msw/msgdlg.h
include/wx/msw/notebook.h
include/wx/msw/ole/access.h
include/wx/msw/ole/automtn.h
include/wx/msw/ole/dataform.h
include/wx/msw/ole/dataobj.h
include/wx/msw/ole/dataobj2.h
include/wx/msw/ole/dropsrc.h
include/wx/msw/ole/droptgt.h
include/wx/msw/ole/oleutils.h
include/wx/msw/ole/uuid.h
include/wx/msw/palette.h
include/wx/msw/pen.h
include/wx/msw/popupwin.h
include/wx/msw/printdlg.h
include/wx/msw/printwin.h
include/wx/msw/private.h
include/wx/msw/radiobox.h
include/wx/msw/radiobut.h
include/wx/msw/region.h
include/wx/msw/scrolbar.h
include/wx/msw/slider.h
include/wx/msw/spinbutt.h
include/wx/msw/spinctrl.h
include/wx/msw/statbmp.h
include/wx/msw/statbox.h
include/wx/msw/statline.h
include/wx/msw/stattext.h
include/wx/msw/statusbar.h
include/wx/msw/subwin.h
include/wx/msw/tabctrl.h
include/wx/msw/textctrl.h
include/wx/msw/tglbtn.h
include/wx/msw/toolbar.h
include/wx/msw/tooltip.h
include/wx/msw/toplevel.h
include/wx/msw/treectrl.h
include/wx/msw/uxtheme.h
include/wx/msw/wince/checklst.h
include/wx/msw/wince/choicece.h
include/wx/msw/wince/helpwce.h
include/wx/msw/wince/tbarwce.h
include/wx/msw/wince/textctrlce.h
include/wx/msw/window.h
include/wx/msw/wrapwin.h
include/wx/notebook.h
include/wx/object.h
include/wx/os2/accel.h
include/wx/os2/app.h
include/wx/os2/bitmap.h
include/wx/os2/bmpbuttn.h
include/wx/os2/brush.h
include/wx/os2/button.h
include/wx/os2/checkbox.h
include/wx/os2/checklst.h
include/wx/os2/choice.h
include/wx/os2/clipbrd.h
include/wx/os2/colour.h
include/wx/os2/combobox.h
include/wx/os2/control.h
include/wx/os2/cursor.h
include/wx/os2/dc.h
include/wx/os2/dcclient.h
include/wx/os2/dcmemory.h
include/wx/os2/dcprint.h
include/wx/os2/dcscreen.h
include/wx/os2/dialog.h
include/wx/os2/dirdlg.h
include/wx/os2/dnd.h
include/wx/os2/filedlg.h
include/wx/os2/font.h
include/wx/os2/fontdlg.h
include/wx/os2/frame.h
include/wx/os2/gauge.h
include/wx/os2/gdiimage.h
include/wx/os2/helpwin.h
include/wx/os2/icon.h
include/wx/os2/iniconf.h
include/wx/os2/listbox.h
include/wx/os2/listctrl.h
include/wx/os2/mdi.h
include/wx/os2/menu.h
include/wx/os2/menuitem.h
include/wx/os2/metafile.h
include/wx/os2/minifram.h
include/wx/os2/msgdlg.h
include/wx/os2/notebook.h
include/wx/os2/palette.h
include/wx/os2/pen.h
include/wx/os2/pnghand.h
include/wx/os2/popupwin.h
include/wx/os2/print.h
include/wx/os2/printos2.h
include/wx/os2/private.h
include/wx/os2/private/timer.h
include/wx/os2/radiobox.h
include/wx/os2/radiobut.h
include/wx/os2/region.h
include/wx/os2/scrolbar.h
include/wx/os2/slider.h
include/wx/os2/spinbutt.h
include/wx/os2/spinctrl.h
include/wx/os2/statbmp.h
include/wx/os2/statbox.h
include/wx/os2/statline.h
include/wx/os2/stattext.h
include/wx/os2/tabctrl.h
include/wx/os2/textctrl.h
include/wx/os2/tglbtn.h
include/wx/os2/toolbar.h
include/wx/os2/toplevel.h
include/wx/os2/treectrl.h
include/wx/os2/window.h
include/wx/overlay.h
include/wx/ownerdrw.h
include/wx/palette.h
include/wx/palmos/accel.h
include/wx/palmos/app.h
include/wx/palmos/bitmap.h
include/wx/palmos/bmpbuttn.h
include/wx/palmos/brush.h
include/wx/palmos/button.h
include/wx/palmos/caret.h
include/wx/palmos/checkbox.h
include/wx/palmos/checklst.h
include/wx/palmos/choice.h
include/wx/palmos/clipbrd.h
include/wx/palmos/colordlg.h
include/wx/palmos/combobox.h
include/wx/palmos/control.h
include/wx/palmos/cursor.h
include/wx/palmos/dc.h
include/wx/palmos/dcclient.h
include/wx/palmos/dcmemory.h
include/wx/palmos/dcprint.h
include/wx/palmos/dcscreen.h
include/wx/palmos/dialog.h
include/wx/palmos/dib.h
include/wx/palmos/dirdlg.h
include/wx/palmos/dragimag.h
include/wx/palmos/enhmeta.h
include/wx/palmos/evtloop.h
include/wx/palmos/fdrepdlg.h
include/wx/palmos/filedlg.h
include/wx/palmos/font.h
include/wx/palmos/fontdlg.h
include/wx/palmos/frame.h
include/wx/palmos/gauge.h
include/wx/palmos/gdiimage.h
include/wx/palmos/help.h
include/wx/palmos/imaglist.h
include/wx/palmos/listbox.h
include/wx/palmos/listctrl.h
include/wx/palmos/mdi.h
include/wx/palmos/menu.h
include/wx/palmos/menuitem.h
include/wx/palmos/metafile.h
include/wx/palmos/minifram.h
include/wx/palmos/msgdlg.h
include/wx/palmos/mslu.h
include/wx/palmos/notebook.h
include/wx/palmos/palette.h
include/wx/palmos/pen.h
include/wx/palmos/popupwin.h
include/wx/palmos/printdlg.h
include/wx/palmos/printpalm.h
include/wx/palmos/private/timer.h
include/wx/palmos/progdlg.h
include/wx/palmos/radiobox.h
include/wx/palmos/radiobut.h
include/wx/palmos/region.h
include/wx/palmos/scrolbar.h
include/wx/palmos/slider.h
include/wx/palmos/spinbutt.h
include/wx/palmos/spinctrl.h
include/wx/palmos/statbmp.h
include/wx/palmos/statbox.h
include/wx/palmos/statline.h
include/wx/palmos/stattext.h
include/wx/palmos/statusbr.h
include/wx/palmos/tabctrl.h
include/wx/palmos/textctrl.h
include/wx/palmos/tglbtn.h
include/wx/palmos/toolbar.h
include/wx/palmos/tooltip.h
include/wx/palmos/toplevel.h
include/wx/palmos/treectrl.h
include/wx/palmos/window.h
include/wx/paper.h
include/wx/pen.h
include/wx/pickerbase.h
include/wx/popupwin.h
include/wx/printdlg.h
include/wx/prntbase.h
include/wx/quantize.h
include/wx/radiobox.h
include/wx/radiobut.h
include/wx/rawbmp.h
include/wx/region.h
include/wx/renderer.h
include/wx/scrolbar.h
include/wx/scrolwin.h
include/wx/selstore.h
include/wx/settings.h
include/wx/sizer.h
include/wx/slider.h
include/wx/spinbutt.h
include/wx/spinctrl.h
include/wx/srchctrl.h
include/wx/statbmp.h
include/wx/statbox.h
include/wx/statline.h
include/wx/stattext.h
include/wx/statusbr.h
include/wx/stockitem.h
include/wx/tbarbase.h
include/wx/textctrl.h
include/wx/tglbtn.h
include/wx/tipwin.h
include/wx/toolbook.h
include/wx/toplevel.h
include/wx/treebase.h
include/wx/treebook.h
include/wx/treectrl.h
include/wx/univ/app.h
include/wx/univ/bmpbuttn.h
include/wx/univ/button.h
include/wx/univ/checkbox.h
include/wx/univ/checklst.h
include/wx/univ/choice.h
include/wx/univ/colschem.h
include/wx/univ/combobox.h
include/wx/univ/control.h
include/wx/univ/dialog.h
include/wx/univ/frame.h
include/wx/univ/gauge.h
include/wx/univ/inpcons.h
include/wx/univ/inphand.h
include/wx/univ/listbox.h
include/wx/univ/menu.h
include/wx/univ/menuitem.h
include/wx/univ/notebook.h
include/wx/univ/radiobox.h
include/wx/univ/radiobut.h
include/wx/univ/renderer.h
include/wx/univ/scrarrow.h
include/wx/univ/scrolbar.h
include/wx/univ/scrthumb.h
include/wx/univ/scrtimer.h
include/wx/univ/slider.h
include/wx/univ/spinbutt.h
include/wx/univ/statbmp.h
include/wx/univ/statbox.h
include/wx/univ/statline.h
include/wx/univ/stattext.h
include/wx/univ/statusbr.h
include/wx/univ/textctrl.h
include/wx/univ/tglbtn.h
include/wx/univ/theme.h
include/wx/univ/toolbar.h
include/wx/univ/toplevel.h
include/wx/univ/window.h
include/wx/unix/apptrait.h
include/wx/unix/mimetype.h
include/wx/utils.h
include/wx/valgen.h
include/wx/validate.h
include/wx/valtext.h
include/wx/vidmode.h
include/wx/vlbox.h
include/wx/vscroll.h
include/wx/window.h
include/wx/x11/app.h
include/wx/x11/colour.h
include/wx/x11/dc.h
include/wx/x11/dcprint.h
include/wx/x11/dnd.h
include/wx/x11/minifram.h
include/wx/x11/palette.h
include/wx/x11/print.h
include/wx/x11/privx.h
include/wx/x11/textctrl.h
include/wx/x11/toplevel.h
include/wx/x11/window.h
include/wx/xpmdecod.h

index 0cbf106f7a3c38214938e62e7e421d31bb6ae1b1..fe1ec1a6fa71dc399014dde1e34907e5d6e097d1 100644 (file)
@@ -44,7 +44,7 @@ enum wxAcceleratorEntryFlags
 // an entry in wxAcceleratorTable corresponds to one accelerator
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxAcceleratorEntry
+class WXDLLIMPEXP_CORE wxAcceleratorEntry
 {
 public:
     wxAcceleratorEntry(int flags = 0, int keyCode = 0, int cmd = 0,
@@ -164,7 +164,7 @@ private:
     #include "wx/os2/accel.h"
 #endif
 
-extern WXDLLEXPORT_DATA(wxAcceleratorTable) wxNullAcceleratorTable;
+extern WXDLLIMPEXP_DATA_CORE(wxAcceleratorTable) wxNullAcceleratorTable;
 
 #endif // wxUSE_ACCEL
 
index 2e7c77225049243f77bb16247d792409d670a71b..8e3f6d6ccce1702510c4cd94600e11f5a00c3c94 100644 (file)
@@ -228,7 +228,7 @@ class WXDLLIMPEXP_FWD_CORE wxAccessible;
 class WXDLLIMPEXP_FWD_CORE wxWindow;
 class WXDLLIMPEXP_FWD_CORE wxPoint;
 class WXDLLIMPEXP_FWD_CORE wxRect;
-class WXDLLEXPORT wxAccessibleBase : public wxObject
+class WXDLLIMPEXP_CORE wxAccessibleBase : public wxObject
 {
     DECLARE_NO_COPY_CLASS(wxAccessibleBase)
 
index ca9914f1aa4b2ae941f8618cc5c8d4e56d543306..733e5b3e1e35f6d525c654a3f151fdd968b01aaf 100644 (file)
@@ -20,7 +20,7 @@
 #include "wx/dynarray.h"
 
 
-class /*WXDLLEXPORT*/ wxANIFrameInfo;
+class /*WXDLLIMPEXP_CORE*/ wxANIFrameInfo;      // private implementation detail
 
 WX_DECLARE_EXPORTED_OBJARRAY(wxANIFrameInfo, wxANIFrameInfoArray);
 WX_DECLARE_EXPORTED_OBJARRAY(wxImage, wxImageArray);
@@ -29,7 +29,7 @@ WX_DECLARE_EXPORTED_OBJARRAY(wxImage, wxImageArray);
 // wxANIDecoder class
 // --------------------------------------------------------------------------
 
-class WXDLLEXPORT wxANIDecoder : public wxAnimationDecoder
+class WXDLLIMPEXP_CORE wxANIDecoder : public wxAnimationDecoder
 {
 public:
     // constructor, destructor, etc.
index dc1d1785f94eb01d9bc747b4716c2fc45e98fe9d..c31d9d0670ea770429472e513a2cc62b8521e381 100644 (file)
@@ -246,7 +246,7 @@ public:
 
 #if wxUSE_GUI
 
-class WXDLLEXPORT wxGUIAppTraitsBase : public wxAppTraits
+class WXDLLIMPEXP_CORE wxGUIAppTraitsBase : public wxAppTraits
 {
 public:
 #if wxUSE_LOG
index e49c3b36d59aee5caf8dc20ca85d6424e8377eba..34f365a8e98aba52e70ccb450ef84c1a74e4f63c 100644 (file)
@@ -111,7 +111,7 @@ typedef wxString wxArtID;
 // wxArtProvider class
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxArtProvider : public wxObject
+class WXDLLIMPEXP_CORE wxArtProvider : public wxObject
 {
 public:
     // Dtor removes the provider from providers stack if it's still on it
index 6d3d323c4b007ef881e23e7acfd92cea3cd52419..42f48524f95cbb316b9a01bd257986c3dec110da 100644 (file)
@@ -33,7 +33,7 @@ class WXDLLIMPEXP_FWD_CORE wxPalette;
 
 #if wxUSE_VARIANT
 #include "wx/variant.h"
-DECLARE_VARIANT_OBJECT_EXPORTED(wxBitmap,WXDLLEXPORT)
+DECLARE_VARIANT_OBJECT_EXPORTED(wxBitmap,WXDLLIMPEXP_CORE)
 #endif
 
 // ----------------------------------------------------------------------------
@@ -42,7 +42,7 @@ DECLARE_VARIANT_OBJECT_EXPORTED(wxBitmap,WXDLLEXPORT)
 
 // TODO: all implementation of wxMask, except the generic one,
 //       do not derive from wxMaskBase,,, they should
-class WXDLLEXPORT wxMaskBase : public wxObject
+class WXDLLIMPEXP_CORE wxMaskBase : public wxObject
 {
 public:
     // create the mask from bitmap pixels of the given colour
@@ -94,7 +94,7 @@ protected:
 // different formats
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmapHandler : public wxObject
+class WXDLLIMPEXP_CORE wxBitmapHandler : public wxObject
 {
 public:
     wxBitmapHandler() { m_type = wxBITMAP_TYPE_INVALID; }
@@ -138,7 +138,7 @@ private:
 // wxBitmap: class which represents platform-dependent bitmap (unlike wxImage)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmapBase : public wxGDIObject
+class WXDLLIMPEXP_CORE wxBitmapBase : public wxGDIObject
 {
 public:
     /*
index 27edd94fd06d1a991aae5742cc89b5164b8cce4c..21412bf42581833353a0ccc5e4c3e1be015270b6 100644 (file)
 #include "wx/bitmap.h"
 #include "wx/button.h"
 
-extern WXDLLEXPORT_DATA(const char) wxButtonNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxButtonNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxBitmapButton: a button which shows bitmaps instead of the usual string.
 // It has different bitmaps for different states (focused/disabled/pressed)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmapButtonBase : public wxButton
+class WXDLLIMPEXP_CORE wxBitmapButtonBase : public wxButton
 {
 public:
     wxBitmapButtonBase()
index f791d2550af972bdad609f4e0291e2930d04fd89..e864221cada8e43c77a907133a274a93b207db6f 100644 (file)
@@ -54,7 +54,7 @@ enum
 // wxBookCtrlBase
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBookCtrlBase : public wxControl
+class WXDLLIMPEXP_CORE wxBookCtrlBase : public wxControl
 {
 public:
     // construction
@@ -344,7 +344,7 @@ private:
 // wxBookCtrlBaseEvent: page changing events generated by derived classes
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBookCtrlBaseEvent : public wxNotifyEvent
+class WXDLLIMPEXP_CORE wxBookCtrlBaseEvent : public wxNotifyEvent
 {
 public:
     wxBookCtrlBaseEvent(wxEventType commandType = wxEVT_NULL, int winid = 0,
index 85973acb06f1dd0b8f4d1f08816f45645ba99b6d..033ace1dd8599e4100e5136da040d7ad6acddc9e 100644 (file)
@@ -39,7 +39,7 @@ enum wxBrushStyle
 
 
 // wxBrushBase
-class WXDLLEXPORT wxBrushBase: public wxGDIObject
+class WXDLLIMPEXP_CORE wxBrushBase: public wxGDIObject
 {
 public:
     virtual ~wxBrushBase() { }
@@ -94,7 +94,7 @@ public:
 #endif
 };
 
-extern WXDLLEXPORT_DATA(wxBrushList*)   wxTheBrushList;
+extern WXDLLIMPEXP_DATA_CORE(wxBrushList*)   wxTheBrushList;
 
 // provide comparison operators to allow code such as
 //
index 58f8ab55fe4fb9058e863729558c98149ebf28a4..250f53129cea5428c096af388fab2303b8467eac 100644 (file)
 
 class WXDLLIMPEXP_FWD_CORE wxBitmap;
 
-extern WXDLLEXPORT_DATA(const char) wxButtonNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxButtonNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxButton: a push button
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxButtonBase : public wxControl
+class WXDLLIMPEXP_CORE wxButtonBase : public wxControl
 {
 public:
     wxButtonBase() { }
index c3d3ebd2bdee32bd3d0ac67cfffdaf5e90a15088..e65e9deca1299501dbe4a297a216b9dcae0cefcd 100644 (file)
@@ -34,7 +34,7 @@ class WXDLLIMPEXP_FWD_CORE wxWindowBase;
 // appear. It can be either a solid block or a custom bitmap (TODO)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxCaretBase
+class WXDLLIMPEXP_CORE wxCaretBase
 {
 public:
     // ctors
@@ -208,7 +208,7 @@ private:
 #ifdef wxHAS_CARET_USING_OVERLAYS
 
 // we don't need to hide the caret if it's rendered using overlays
-class WXDLLEXPORT wxCaretSuspend
+class WXDLLIMPEXP_CORE wxCaretSuspend
 {
 public:
     wxCaretSuspend(wxWindow *WXUNUSED(win)) {}
@@ -218,7 +218,7 @@ public:
 
 #else // !wxHAS_CARET_USING_OVERLAYS
 
-class WXDLLEXPORT wxCaretSuspend
+class WXDLLIMPEXP_CORE wxCaretSuspend
 {
 public:
     wxCaretSuspend(wxWindow *win)
index 8b0348fe374dd609f5376a94dd6a8635f573897b..96e7c8679dc6cee409fd5c30cd27136fa3f4bca7 100644 (file)
@@ -49,13 +49,13 @@ enum wxCheckBoxState
 };
 
 
-extern WXDLLEXPORT_DATA(const char) wxCheckBoxNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxCheckBoxNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxCheckBox: a control which shows a label and a box which may be checked
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxCheckBoxBase : public wxControl
+class WXDLLIMPEXP_CORE wxCheckBoxBase : public wxControl
 {
 public:
     wxCheckBoxBase() { }
index d30003320eb22accb1ea99a7709f885978d40a47..1d886ba4b081c9d0883952396dc0b79130cccb13 100644 (file)
@@ -20,7 +20,7 @@
 // wxCheckListBox: a listbox whose items may be checked
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxCheckListBoxBase : public
+class WXDLLIMPEXP_CORE wxCheckListBoxBase : public
                                               #ifdef __WXWINCE__
                                                   // keep virtuals synchronised
                                                   wxListBoxBase
index 3127b083a5a6002804db0cfcf5e67b5f8b5542bb..e6e85a22413b10c6391011cb037e9771824a9507 100644 (file)
 // global data
 // ----------------------------------------------------------------------------
 
-extern WXDLLEXPORT_DATA(const char) wxChoiceNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxChoiceNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxChoice allows to select one of a non-modifiable list of strings
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxChoiceBase : public wxControlWithItems
+class WXDLLIMPEXP_CORE wxChoiceBase : public wxControlWithItems
 {
 public:
     wxChoiceBase() { }
index 0c06f3c5ff89a793a75c27e328f3ec5065a7b9c7..fc6490cf8add225abeda0e16a9dcca3107335f12 100644 (file)
@@ -36,7 +36,7 @@ extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_CHOICEBOOK_PAGE_CHANGING
 // wxChoicebook
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxChoicebook : public wxBookCtrlBase
+class WXDLLIMPEXP_CORE wxChoicebook : public wxBookCtrlBase
 {
 public:
     wxChoicebook()
@@ -118,7 +118,7 @@ private:
 // choicebook event class and related stuff
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxChoicebookEvent : public wxBookCtrlBaseEvent
+class WXDLLIMPEXP_CORE wxChoicebookEvent : public wxBookCtrlBaseEvent
 {
 public:
     wxChoicebookEvent(wxEventType commandType = wxEVT_NULL, int id = 0,
index 886ac3871c169aad6987ffabcb7e57a0d1f06571..9977256a31d4407a435cf59080c6b90c5ba0dcd0 100644 (file)
@@ -32,7 +32,7 @@ class WXDLLIMPEXP_FWD_CORE wxClipboard;
 // with wxDataObject.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxClipboardBase : public wxObject
+class WXDLLIMPEXP_CORE wxClipboardBase : public wxObject
 {
 public:
     wxClipboardBase() { m_usePrimary = false; }
@@ -129,7 +129,7 @@ public:
 // helpful class for opening the clipboard and automatically closing it
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxClipboardLocker
+class WXDLLIMPEXP_CORE wxClipboardLocker
 {
 public:
     wxClipboardLocker(wxClipboard *clipboard = (wxClipboard *)NULL)
index 3d07cfa5599b6bdfccef1723d2db1c9a6b479eca..59edfe8436e8d89c862ad96cd27fe0c90f8484b2 100644 (file)
@@ -22,8 +22,8 @@
 
 class WXDLLIMPEXP_FWD_CORE wxColourPickerEvent;
 
-extern WXDLLEXPORT_DATA(const char) wxColourPickerWidgetNameStr[];
-extern WXDLLEXPORT_DATA(const char) wxColourPickerCtrlNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxColourPickerWidgetNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxColourPickerCtrlNameStr[];
 
 // show the colour in HTML form (#AABBCC) as colour button label
 #define wxCLRBTN_SHOW_LABEL     100
index ef5929870f6953abf5a117c53d47900623231e54..cba83770dd98db90358c92e9a3b0bfeb12be3f1f 100644 (file)
@@ -22,7 +22,7 @@ class WXDLLIMPEXP_FWD_CORE wxMenu;
 // wxCommand: a single command capable of performing itself
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxCommand : public wxObject
+class WXDLLIMPEXP_CORE wxCommand : public wxObject
 {
 public:
     wxCommand(bool canUndoIt = false, const wxString& name = wxEmptyString);
@@ -49,7 +49,7 @@ private:
 // wxCommandProcessor: wxCommand manager
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxCommandProcessor : public wxObject
+class WXDLLIMPEXP_CORE wxCommandProcessor : public wxObject
 {
 public:
     // if max number of commands is -1, it is unlimited
index 630415f4c359b166405906d506265c0abb003dee..ca69e6e10764121964b09b787b1469dd4079b2bf 100644 (file)
@@ -26,7 +26,7 @@
 class WXDLLIMPEXP_FWD_CORE wxPrintNativeDataBase;
 
 
-class WXDLLEXPORT wxColourData : public wxObject
+class WXDLLIMPEXP_CORE wxColourData : public wxObject
 {
 public:
     // number of custom colours we store
@@ -64,7 +64,7 @@ private:
     DECLARE_DYNAMIC_CLASS(wxColourData)
 };
 
-class WXDLLEXPORT wxFontData : public wxObject
+class WXDLLIMPEXP_CORE wxFontData : public wxObject
 {
 public:
     wxFontData();
@@ -181,7 +181,7 @@ enum wxPrintBin
 
 const int wxPRINTMEDIA_DEFAULT = 0;
 
-class WXDLLEXPORT wxPrintData: public wxObject
+class WXDLLIMPEXP_CORE wxPrintData: public wxObject
 {
 public:
     wxPrintData();
@@ -274,7 +274,7 @@ private:
  * from the dialog.
  */
 
-class WXDLLEXPORT wxPrintDialogData: public wxObject
+class WXDLLIMPEXP_CORE wxPrintDialogData: public wxObject
 {
 public:
     wxPrintDialogData();
@@ -349,7 +349,7 @@ private:
 // Compatibility with old name
 #define wxPageSetupData wxPageSetupDialogData
 
-class WXDLLEXPORT wxPageSetupDialogData: public wxObject
+class WXDLLIMPEXP_CORE wxPageSetupDialogData: public wxObject
 {
 public:
     wxPageSetupDialogData();
index 50900b4f18b9d14d54b86eea1cefb4e9b7fff53a..36c8e57805415c7de47bf51334636b7ea82657c6 100644 (file)
@@ -22,7 +22,7 @@ typedef const struct __CFString * CFStringRef;
 // ========================================================================
 // Represents the application. Derive OnInit and declare
 // a new App object to start application
-class WXDLLEXPORT wxApp: public wxAppBase
+class WXDLLIMPEXP_CORE wxApp: public wxAppBase
 {
     DECLARE_DYNAMIC_CLASS(wxApp)
 // ------------------------------------------------------------------------
index c7fc972c1ce718b1b61038a0c1e8c50f00440d2c..d3caa0d5a5ee3da959b54ce5494d5964803fa374 100644 (file)
@@ -26,7 +26,7 @@ class WXDLLIMPEXP_FWD_CORE wxPixelDataBase;
 // ========================================================================
 
 // A mask is a 1-bit alpha bitmap used for drawing bitmaps transparently.
-class WXDLLEXPORT wxMask: public wxObject
+class WXDLLIMPEXP_CORE wxMask: public wxObject
 {
     DECLARE_DYNAMIC_CLASS(wxMask)
 public:
@@ -62,7 +62,7 @@ protected:
 // ========================================================================
 // wxBitmap
 // ========================================================================
-class WXDLLEXPORT wxBitmap: public wxGDIObject
+class WXDLLIMPEXP_CORE wxBitmap: public wxGDIObject
 {
 // ------------------------------------------------------------------------
 // initialization
index b26b75a15e08ba18c6c43fa99417149e88d2d6f7..e9c22e908a96e577352d4c71eee8b4850f5094ba 100644 (file)
@@ -17,7 +17,7 @@
 // ========================================================================
 // wxBitmapButton
 // ========================================================================
-class WXDLLEXPORT wxBitmapButton : public wxBitmapButtonBase
+class WXDLLIMPEXP_CORE wxBitmapButton : public wxBitmapButtonBase
 {
     DECLARE_DYNAMIC_CLASS(wxBitmapButton)
     DECLARE_EVENT_TABLE()
index eec16bc96d717b82f895bd87334d3ca27b535062..965e35f109503062a08876aa2eeac7b6538ab292 100644 (file)
@@ -21,7 +21,7 @@ class WXDLLIMPEXP_FWD_CORE wxBrush;
 // ========================================================================
 // wxBrush
 // ========================================================================
-class WXDLLEXPORT wxBrush: public wxBrushBase
+class WXDLLIMPEXP_CORE wxBrush: public wxBrushBase
 {
     DECLARE_DYNAMIC_CLASS(wxBrush)
 // ------------------------------------------------------------------------
index aefc9d13696943a734aab352228079ea64c4acf0..91a44f01203ebb5859d02149165100451b8be456 100644 (file)
@@ -17,7 +17,7 @@
 // ========================================================================
 // wxButton
 // ========================================================================
-class WXDLLEXPORT wxButton : public wxButtonBase, protected wxCocoaNSButton
+class WXDLLIMPEXP_CORE wxButton : public wxButtonBase, protected wxCocoaNSButton
 {
     DECLARE_DYNAMIC_CLASS(wxButton)
     DECLARE_EVENT_TABLE()
index 93c10cb3fcc733792fef2a9e6bcbd346a5f13913..a65004c33dd85e56a92e64c559b0f47c07a35322 100644 (file)
@@ -17,7 +17,7 @@
 // ========================================================================
 // wxCheckBox
 // ========================================================================
-class WXDLLEXPORT wxCheckBox: public wxCheckBoxBase , protected wxCocoaNSButton
+class WXDLLIMPEXP_CORE wxCheckBox: public wxCheckBoxBase , protected wxCocoaNSButton
 {
     DECLARE_DYNAMIC_CLASS(wxCheckBox)
     DECLARE_EVENT_TABLE()
index 1f0075286881f46fb31808630a45fca8c233b114..183363edc63e3ad50ceaee2e830a5fa62d661a65 100644 (file)
@@ -17,7 +17,7 @@
 // ========================================================================
 // wxCheckListBox
 // ========================================================================
-class WXDLLEXPORT wxCheckListBox: public wxCheckListBoxBase //, protected wxCocoaNSTableView
+class WXDLLIMPEXP_CORE wxCheckListBox: public wxCheckListBoxBase //, protected wxCocoaNSTableView
 {
     DECLARE_DYNAMIC_CLASS(wxCheckListBox)
     DECLARE_EVENT_TABLE()
index 045a21cbc15fd08f975c34359ec91cab89780635..9d7f6539ed6ec2b59c37cf6d977c95096c5c00c7 100644 (file)
@@ -20,7 +20,7 @@ class WXDLLIMPEXP_FWD_BASE wxSortedArrayString;
 // ========================================================================
 // wxChoice
 // ========================================================================
-class WXDLLEXPORT wxChoice: public wxChoiceBase /*, protected wxCocoaNSPopUpButton */, protected wxCocoaNSMenu
+class WXDLLIMPEXP_CORE wxChoice: public wxChoiceBase /*, protected wxCocoaNSPopUpButton */, protected wxCocoaNSMenu
 {
     DECLARE_DYNAMIC_CLASS(wxChoice)
     DECLARE_EVENT_TABLE()
index b2bc5796f19eee8d79135930387b4ef4ffb84dd6..ddec620a9f26f722fb990d220b2ece28c895bc7d 100644 (file)
@@ -19,7 +19,7 @@
 // wxColour
 // ========================================================================
 
-class WXDLLEXPORT wxColour : public wxColourBase
+class WXDLLIMPEXP_CORE wxColour : public wxColourBase
 {
 public:
     // constructors
index 3a8a9e2d710321a2577caadfb4900f4d11e907ae..2b6e0b48826ac9d115c9669fb08caafa2ed32425 100644 (file)
@@ -40,7 +40,7 @@ public:
 // ========================================================================
 // wxComboBox
 // ========================================================================
-class WXDLLEXPORT wxComboBox : public wxControl, public wxComboBoxBase, protected wxCocoaNSComboBox, protected wxCocoaNSTextField
+class WXDLLIMPEXP_CORE wxComboBox : public wxControl, public wxComboBoxBase, protected wxCocoaNSComboBox, protected wxCocoaNSTextField
 {
     DECLARE_DYNAMIC_CLASS(wxComboBox)
     DECLARE_EVENT_TABLE()
index 1921d083ece885f062997d3eb45428e216ef1779..c83ea77760615bfaa4f2a3aeb70b993f5966174e 100644 (file)
@@ -18,7 +18,7 @@
 // wxControl
 // ========================================================================
 
-class WXDLLEXPORT wxControl : public wxControlBase, public wxCocoaNSControl
+class WXDLLIMPEXP_CORE wxControl : public wxControlBase, public wxCocoaNSControl
 {
     DECLARE_ABSTRACT_CLASS(wxControl)
     WX_DECLARE_COCOA_OWNER(NSControl,NSView,NSView)
index 474d1b80620bbda5621994554e2aa19d94637e50..eb220b9fa7007201e49627197fa2f21466e25b4b 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/bitmap.h"
 
-class WXDLLEXPORT wxCursorRefData : public wxGDIRefData
+class WXDLLIMPEXP_CORE wxCursorRefData : public wxGDIRefData
 {
 public:
     wxCursorRefData();
@@ -34,7 +34,7 @@ protected:
 #define M_CURSORHANDLERDATA ((wxCursorRefData *)bitmap->m_refData)
 
 // Cursor
-class WXDLLEXPORT wxCursor: public wxBitmap
+class WXDLLIMPEXP_CORE wxCursor: public wxBitmap
 {
 public:
     wxCursor();
@@ -58,7 +58,7 @@ public:
     DECLARE_DYNAMIC_CLASS(wxCursor)
 };
 
-extern WXDLLEXPORT void wxSetCursor(const wxCursor& cursor);
+extern WXDLLIMPEXP_CORE void wxSetCursor(const wxCursor& cursor);
 
 #endif
     // _WX_COCOA_CURSOR_H_
index 1e6f66ed71f99f124c44ace139b20f102597bfea..bb5dc4d916b939a9f375afcdb77ac7706be33b10 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "wx/dcmemory.h"
 
-class WXDLLEXPORT wxMemoryDCImpl: public wxCocoaDCImpl
+class WXDLLIMPEXP_CORE wxMemoryDCImpl: public wxCocoaDCImpl
 {
     DECLARE_DYNAMIC_CLASS(wxMemoryDCImpl)
 
index 0ba2e5713339223c22724a4c9e4ad7b599c5c8ef..cd00c5528eff6a53f37e988fc09737cb158c892d 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/dcscreen.h"
 #include "wx/cocoa/dc.h"
 
-class WXDLLEXPORT wxScreenDCImpl: public wxCocoaDCImpl
+class WXDLLIMPEXP_CORE wxScreenDCImpl: public wxCocoaDCImpl
 {
     DECLARE_DYNAMIC_CLASS(wxScreenDCImpl)
 public:
index 6de08332a3edb72e32cf8edda9a66b83f97216d6..9bf499f76601d59633822c5a0e4a7b061bb8aadf 100644 (file)
@@ -20,7 +20,7 @@
 // ========================================================================
 // wxDialog
 // ========================================================================
-class WXDLLEXPORT wxDialog : public wxDialogBase, protected wxCocoaNSPanel
+class WXDLLIMPEXP_CORE wxDialog : public wxDialogBase, protected wxCocoaNSPanel
 {
     DECLARE_DYNAMIC_CLASS(wxDialog)
     WX_DECLARE_COCOA_OWNER(NSPanel,NSWindow,NSWindow)
index f2df94556b84c4b1297dc2bc1c44174854d1fd93..5a4017d642e5fb67b6b90ee84ccaf89bc4c73de2 100644 (file)
@@ -19,7 +19,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel);
 // wxDirDialog
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDirDialog: public wxDirDialogBase
+class WXDLLIMPEXP_CORE wxDirDialog: public wxDirDialogBase
 {
     DECLARE_DYNAMIC_CLASS(wxDirDialog)
     DECLARE_NO_COPY_CLASS(wxDirDialog)
index 634b98d417bcef30288b19bd19a839789ba23739..4c168bf14c4f369e6639be41a7cdfbbc0a67ae11 100644 (file)
@@ -19,7 +19,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel);
 // wxFileDialog
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
+class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase
 {
     DECLARE_DYNAMIC_CLASS(wxFileDialog)
     DECLARE_NO_COPY_CLASS(wxFileDialog)
index f19d666288a212b318380d21a563e09de2d4a3d1..c11e4e3e0134d8b883ccaa505ad4985bc8e88fce 100644 (file)
@@ -30,7 +30,7 @@ class wxFontRefData;
 
     See the documentation in src/cocoa/font.mm for more implementatoin details.
  */
-class WXDLLEXPORT wxFont : public wxFontBase
+class WXDLLIMPEXP_CORE wxFont : public wxFontBase
 {
     friend class wxCocoaFontFactory;
 public:
index d75c5c5a0f8340713e8c10f796af3134314f9e83..b2b68557f33a7357b363e76c6ee0cb09c06c740b 100644 (file)
@@ -15,7 +15,7 @@
 class WXDLLIMPEXP_FWD_CORE wxMenuBar;
 class WXDLLIMPEXP_FWD_CORE wxStatusBar;
 
-class WXDLLEXPORT wxFrame: public wxFrameBase
+class WXDLLIMPEXP_CORE wxFrame: public wxFrameBase
 {
     DECLARE_EVENT_TABLE()
     DECLARE_DYNAMIC_CLASS(wxFrame)
index e629ba56b30da6b051a1dab437291c9acb41f0e8..31c73d2e1a79943cee793a0c867c1f851b115355 100644 (file)
@@ -19,7 +19,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSProgressIndicator);
 // ========================================================================
 // wxGauge
 // ========================================================================
-class WXDLLEXPORT wxGauge: public wxGaugeBase// , protected wxCocoaNSProgressIndicator
+class WXDLLIMPEXP_CORE wxGauge: public wxGaugeBase// , protected wxCocoaNSProgressIndicator
 {
     DECLARE_DYNAMIC_CLASS(wxGauge)
     DECLARE_EVENT_TABLE()
index be697125ded043100472f78af160d481bea2c239..f054181a9a13b63480fd0ce19dfc21cbdbd9176b 100644 (file)
@@ -18,7 +18,7 @@
 // ========================================================================
 // wxIcon
 // ========================================================================
-class WXDLLEXPORT wxIcon : public wxGDIObject
+class WXDLLIMPEXP_CORE wxIcon : public wxGDIObject
 {
 public:
     wxIcon();
index 2d4c74b94e083d58928db4f9bbf8e91539469d7f..91cf6212121bb4ab8a78c5d7586a29b397bf500e 100644 (file)
@@ -19,7 +19,7 @@
 // ========================================================================
 // wxListBox
 // ========================================================================
-class WXDLLEXPORT wxListBox: public wxListBoxBase, protected wxCocoaNSTableView
+class WXDLLIMPEXP_CORE wxListBox: public wxListBoxBase, protected wxCocoaNSTableView
 {
     DECLARE_DYNAMIC_CLASS(wxListBox)
     DECLARE_EVENT_TABLE()
index 70dc7d3d612e3baa299c7647be3d6158c63862c6..fd6d826da5f4e4a78ac3492d1ee4014405530bf4 100644 (file)
@@ -21,7 +21,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(wxMenuBarManagerObserver);
 // ========================================================================
 // wxMenuBarManager
 // ========================================================================
-class WXDLLEXPORT wxMenuBarManager : public wxObject
+class WXDLLIMPEXP_CORE wxMenuBarManager : public wxObject
 {
 // ------------------------------------------------------------------------
 // initialization/destruction
index c3b12ba59539ac116e74a37391260870e18044fb..90165aceed76feeb92357ef6601153cf9bfa7f4e 100644 (file)
@@ -24,7 +24,7 @@ WX_DECLARE_EXPORTED_LIST(wxMDIChildFrame, wxCocoaMDIChildFrameList);
 // ========================================================================
 // wxMDIParentFrame
 // ========================================================================
-class WXDLLEXPORT wxMDIParentFrame: public wxFrame
+class WXDLLIMPEXP_CORE wxMDIParentFrame: public wxFrame
 {
     friend class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
     DECLARE_EVENT_TABLE()
@@ -96,7 +96,7 @@ protected:
 // ========================================================================
 // wxMDIChildFrame
 // ========================================================================
-class WXDLLEXPORT wxMDIChildFrame: public wxFrame
+class WXDLLIMPEXP_CORE wxMDIChildFrame: public wxFrame
 {
     friend class WXDLLIMPEXP_FWD_CORE wxMDIParentFrame;
     DECLARE_EVENT_TABLE()
index a2f4fc75bf10f121bff742f6b1219c323f90b9b2..6903d190bc4757dfc7da68a287ff27737d2bd139 100644 (file)
@@ -22,7 +22,7 @@
 // wxMenu
 // ========================================================================
 
-class WXDLLEXPORT wxMenu : public wxMenuBase, public wxCocoaNSMenu
+class WXDLLIMPEXP_CORE wxMenu : public wxMenuBase, public wxCocoaNSMenu
 {
 public:
     // ctors and dtor
@@ -73,7 +73,7 @@ private:
 // ========================================================================
 // wxMenuBar
 // ========================================================================
-class WXDLLEXPORT wxMenuBar : public wxMenuBarBase
+class WXDLLIMPEXP_CORE wxMenuBar : public wxMenuBarBase
 {
 public:
     // ctors and dtor
index f0e7d137d1a1341841ca1332a5021003ba62bbdf..f69e589853b2c5d357fb98abd8fdec0b403556ed 100644 (file)
@@ -25,7 +25,7 @@
 class wxMenuItemCocoa;
 WX_DECLARE_HASH_MAP(WX_NSMenuItem,wxMenuItem*,wxPointerHash,wxPointerEqual,wxMenuItemCocoaHash);
 
-class WXDLLEXPORT wxMenuItemCocoa : public wxMenuItemBase
+class WXDLLIMPEXP_CORE wxMenuItemCocoa : public wxMenuItemBase
 {
 public:
 // ------------------------------------------------------------------------
index 1a22cb9c2320232c58b0cb0fa91c07f5440f556e..62c1d1dc7f01e9033202c41f123e1ae4939f47a2 100644 (file)
@@ -39,7 +39,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSAlert);
 
 
 
-class WXDLLEXPORT wxCocoaMessageDialog: public wxMessageDialogBase
+class WXDLLIMPEXP_CORE wxCocoaMessageDialog: public wxMessageDialogBase
 {
     DECLARE_DYNAMIC_CLASS(wxCocoaMessageDialog)
     DECLARE_NO_COPY_CLASS(wxCocoaMessageDialog)
index 8083ec895bc3568628e2ce9f548bb9f282bd05ea..21e6ad3271ce34aeed1a78904cfeae22289f8d38 100644 (file)
@@ -17,7 +17,7 @@
 // ========================================================================
 // wxNotebook
 // ========================================================================
-class WXDLLEXPORT wxNotebook: public wxNotebookBase, protected wxCocoaNSTabView
+class WXDLLIMPEXP_CORE wxNotebook: public wxNotebookBase, protected wxCocoaNSTabView
 {
     DECLARE_DYNAMIC_CLASS(wxNotebook)
     DECLARE_EVENT_TABLE()
index c21325046c3c4e3080c1a42714029cf449212948..3ee5c2f3499c9a11e6b69177847daa41be14e4f7 100644 (file)
@@ -21,7 +21,7 @@ class WXDLLIMPEXP_FWD_CORE wxBitmap;
 // ========================================================================
 // wxPen
 // ========================================================================
-class WXDLLEXPORT wxPen: public wxGDIObject
+class WXDLLIMPEXP_CORE wxPen: public wxGDIObject
 {
 public:
     wxPen();
index accc23910c7c1e56bcd1843e406051d7712563e2..9514691c29a6f629ec9b987d0cdf4cdaecf162f2 100644 (file)
@@ -20,7 +20,7 @@
 
 DECLARE_WXCOCOA_OBJC_CLASS(NSTimer);
 
-class WXDLLEXPORT wxCocoaTimerImpl : public wxTimerImpl
+class WXDLLIMPEXP_CORE wxCocoaTimerImpl : public wxTimerImpl
 {
 public:
     wxCocoaTimerImpl(wxTimer* timer) : wxTimerImpl(timer) { Init(); }
index 86dba5ccbefaa3ac462e099a43ba10ddb2cf1d8d..9e84110d2d244fc07bd4a4b82de41ba96c451ba6 100644 (file)
@@ -18,7 +18,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSMatrix);
 // ========================================================================
 // wxRadioBox
 // ========================================================================
-class WXDLLEXPORT wxRadioBox: public wxControl, public wxRadioBoxBase// , protected wxCocoaNSButton
+class WXDLLIMPEXP_CORE wxRadioBox: public wxControl, public wxRadioBoxBase// , protected wxCocoaNSButton
 {
     DECLARE_DYNAMIC_CLASS(wxRadioBox)
     DECLARE_EVENT_TABLE()
index 72e6c08fcc4c550a23417d61257fc46175467626..9225022b35e7ccfe5249bcf0218237916cc5445d 100644 (file)
@@ -21,7 +21,7 @@ WX_DECLARE_EXPORTED_LIST(wxRadioButton, wxRadioButtonList);
 // ========================================================================
 // wxRadioButton
 // ========================================================================
-class WXDLLEXPORT wxRadioButton: public wxControl, protected wxCocoaNSButton
+class WXDLLIMPEXP_CORE wxRadioButton: public wxControl, protected wxCocoaNSButton
 {
     DECLARE_DYNAMIC_CLASS(wxRadioButton)
     DECLARE_EVENT_TABLE()
index 2789d24e0beb38a3e85861cef259a93d4836107e..de34bbf747cbca46426a58855746b689a6fff975 100644 (file)
@@ -20,7 +20,7 @@ typedef struct CGRect NSRect;
 typedef struct _NSRect NSRect;
 #endif
 
-class WXDLLEXPORT wxRegion : public wxRegionGeneric
+class WXDLLIMPEXP_CORE wxRegion : public wxRegionGeneric
 {
 public:
     wxRegion(wxCoord x, wxCoord y, wxCoord w, wxCoord h)
@@ -55,7 +55,7 @@ private:
     DECLARE_DYNAMIC_CLASS(wxRegion);
 };
 
-class WXDLLEXPORT wxRegionIterator : public wxRegionIteratorGeneric
+class WXDLLIMPEXP_CORE wxRegionIterator : public wxRegionIteratorGeneric
 {
 //    DECLARE_DYNAMIC_CLASS(wxRegionIteratorGeneric);
 public:
index 2ae99359329d057230aa33dbf01177a4258c2227..7d449fe2aa2338a6f915b9e8f82dd51d8a60331f 100644 (file)
@@ -17,7 +17,7 @@
 // ========================================================================
 // wxScrollBar
 // ========================================================================
-class WXDLLEXPORT wxScrollBar: public wxScrollBarBase, protected wxCocoaNSScroller
+class WXDLLIMPEXP_CORE wxScrollBar: public wxScrollBarBase, protected wxCocoaNSScroller
 {
     DECLARE_DYNAMIC_CLASS(wxScrollBar)
     DECLARE_EVENT_TABLE()
index 1d2a164666a2f98c242d04e73a9999aa4724dde7..32950b547ffabca05f955e47679105d7e8291bfc 100644 (file)
@@ -19,7 +19,7 @@
 // ========================================================================
 // wxSlider
 // ========================================================================
-class WXDLLEXPORT wxSlider: public wxSliderBase, protected wxCocoaNSSlider
+class WXDLLIMPEXP_CORE wxSlider: public wxSliderBase, protected wxCocoaNSSlider
 {
     DECLARE_DYNAMIC_CLASS(wxSlider)
     DECLARE_EVENT_TABLE()
index fab76435a0391ccf1e63a1699fe91d2604d6f6e0..dd950c00cbb5a3b012ae0cbe4d2546c5428d5afe 100644 (file)
@@ -17,7 +17,7 @@
 // ========================================================================
 // wxSpinButton
 // ========================================================================
-class WXDLLEXPORT wxSpinButton: public wxSpinButtonBase// , protected wxCocoaNSStepper
+class WXDLLIMPEXP_CORE wxSpinButton: public wxSpinButtonBase// , protected wxCocoaNSStepper
 {
     DECLARE_DYNAMIC_CLASS(wxSpinButton)
     DECLARE_EVENT_TABLE()
index 48e281b4a0ef7d658521b97c2f602839f309d8a3..8b6874803f7b9022c62defd82370b7d7a9dbfe41 100644 (file)
@@ -17,7 +17,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSImageView);
 // ========================================================================
 // wxStaticBitmap
 // ========================================================================
-class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase //, protected wxCocoaNSxxx
+class WXDLLIMPEXP_CORE wxStaticBitmap : public wxStaticBitmapBase //, protected wxCocoaNSxxx
 {
     DECLARE_DYNAMIC_CLASS(wxStaticBitmap)
     DECLARE_EVENT_TABLE()
index 35f55064983844fa006f35a828889b54d7075d8b..2502c03def0cbe2673b88985628c13bbaf63de2d 100644 (file)
@@ -17,7 +17,7 @@
 // ========================================================================
 // wxStaticBox
 // ========================================================================
-class WXDLLEXPORT wxStaticBox: public wxStaticBoxBase, protected wxCocoaNSBox
+class WXDLLIMPEXP_CORE wxStaticBox: public wxStaticBoxBase, protected wxCocoaNSBox
 {
     DECLARE_DYNAMIC_CLASS(wxStaticBox)
     DECLARE_EVENT_TABLE()
index 27b1d8e15293df1f6a8de95709d2e2c0b669237d..990e5e80bfed26d114f43dedd545bfac98349e6f 100644 (file)
@@ -17,7 +17,7 @@
 // ========================================================================
 // wxStaticLine
 // ========================================================================
-class WXDLLEXPORT wxStaticLine: public wxStaticLineBase// , protected wxCocoaNSButton
+class WXDLLIMPEXP_CORE wxStaticLine: public wxStaticLineBase// , protected wxCocoaNSButton
 {
     DECLARE_DYNAMIC_CLASS(wxStaticLine)
     DECLARE_EVENT_TABLE()
index 74f8c1ced5e4ac7bd54541bc2fbfd7d53c6a1ec5..1acc560474b1823626bb0a20625fc9ee9532b968 100644 (file)
@@ -17,7 +17,7 @@
 // ========================================================================
 // wxStaticText
 // ========================================================================
-class WXDLLEXPORT wxStaticText : public wxStaticTextBase, protected wxCocoaNSTextField
+class WXDLLIMPEXP_CORE wxStaticText : public wxStaticTextBase, protected wxCocoaNSTextField
 {
     DECLARE_DYNAMIC_CLASS(wxStaticText)
     DECLARE_EVENT_TABLE()
index 290ac2a485db71e71dd1fd66795dd059c9bace6f..64e4f32a6c45b953f064fc48c21a26d880161e4f 100644 (file)
@@ -17,7 +17,7 @@
 // ========================================================================
 // wxTextCtrl
 // ========================================================================
-class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase, protected wxCocoaNSTextField
+class WXDLLIMPEXP_CORE wxTextCtrl : public wxTextCtrlBase, protected wxCocoaNSTextField
 {
     DECLARE_DYNAMIC_CLASS(wxTextCtrl)
     DECLARE_EVENT_TABLE()
index 0bf28d10568637147d5969d648c3ccf9115224ca..0e850d63434f8f3c303d375129604a4a1d5a92de 100644 (file)
@@ -20,7 +20,7 @@ class WXDLLIMPEXP_FWD_CORE wxMenuBar;
 // ========================================================================
 // wxTopLevelWindowCocoa
 // ========================================================================
-class WXDLLEXPORT wxTopLevelWindowCocoa : public wxTopLevelWindowBase, protected wxCocoaNSWindow
+class WXDLLIMPEXP_CORE wxTopLevelWindowCocoa : public wxTopLevelWindowBase, protected wxCocoaNSWindow
 {
     DECLARE_EVENT_TABLE();
     DECLARE_NO_COPY_CLASS(wxTopLevelWindowCocoa);
@@ -126,6 +126,6 @@ protected:
 };
 
 // list of all frames and modeless dialogs
-extern WXDLLEXPORT_DATA(wxWindowList) wxModelessWindows;
+extern WXDLLIMPEXP_DATA_CORE(wxWindowList) wxModelessWindows;
 
 #endif // __WX_COCOA_TOPLEVEL_H__
index 91e6fd0082c34215bf65ca432ed42d0a34f10d74..c0ae13a74dbd62f10a3ec52a8fec8d905980c726 100644 (file)
@@ -43,7 +43,7 @@ class wxCocoaTrackingRectManager;
 // ========================================================================
 // wxWindowCocoa
 // ========================================================================
-class WXDLLEXPORT wxWindowCocoa: public wxWindowBase, protected wxCocoaNSView
+class WXDLLIMPEXP_CORE wxWindowCocoa: public wxWindowBase, protected wxCocoaNSView
 {
     DECLARE_DYNAMIC_CLASS(wxWindowCocoa)
     DECLARE_NO_COPY_CLASS(wxWindowCocoa)
index 6bff18a13b7b77b9703aedb318f77579feb57913..d0aac1af88f7fa31bd580967e1e99687583c208c 100644 (file)
 class WXDLLIMPEXP_FWD_CORE wxColourData;
 
 // get the colour from user and return it
-wxColour WXDLLEXPORT
-wxGetColourFromUser(wxWindow *parent = (wxWindow *)NULL,
-                    const wxColour& colInit = wxNullColour,
-                    const wxString& caption = wxEmptyString,
-                    wxColourData *data = NULL);
+WXDLLIMPEXP_CORE wxColour wxGetColourFromUser(wxWindow *parent = (wxWindow *)NULL,
+                                              const wxColour& colInit = wxNullColour,
+                                              const wxString& caption = wxEmptyString,
+                                              wxColourData *data = NULL);
 
 #endif // wxUSE_COLOURDLG
 
index c6f0e91f23b9e3ed5e6e42dc3f0795471bedc689..9c2fc423b758077f6242ca5ba599fb6ce42af769 100644 (file)
@@ -50,7 +50,7 @@ const unsigned char wxALPHA_OPAQUE = 0xff;
 
 #if wxUSE_VARIANT
 #include "wx/variant.h"
-DECLARE_VARIANT_OBJECT_EXPORTED(wxColour,WXDLLEXPORT)
+DECLARE_VARIANT_OBJECT_EXPORTED(wxColour,WXDLLIMPEXP_CORE)
 #endif
 
 //-----------------------------------------------------------------------------
@@ -68,7 +68,7 @@ DECLARE_VARIANT_OBJECT_EXPORTED(wxColour,WXDLLEXPORT)
 #define wxCOLOUR_IS_GDIOBJECT 1
 #endif
 
-class WXDLLEXPORT wxColourBase : public 
+class WXDLLIMPEXP_CORE wxColourBase : public
 #if wxCOLOUR_IS_GDIOBJECT
     wxGDIObject
 #else
@@ -121,7 +121,7 @@ public:
 
 #if !wxCOLOUR_IS_GDIOBJECT
     virtual bool IsOk() const= 0;
-    
+
     // older version, for backwards compatibility only (but not deprecated
     // because it's still widely used)
     bool Ok() const { return IsOk(); }
index 7d3af186566aa9ef1d90dc6b591ce571dbacd0ce..a79c3d61927b75cf1d280ac70d998d6a21ec0d6b 100644 (file)
@@ -137,7 +137,7 @@ struct wxComboCtrlFeatures
 };
 
 
-class WXDLLEXPORT wxComboCtrlBase : public wxControl
+class WXDLLIMPEXP_CORE wxComboCtrlBase : public wxControl
 {
     friend class wxComboPopup;
 public:
@@ -645,7 +645,7 @@ enum
 };
 
 
-class WXDLLEXPORT wxComboPopup
+class WXDLLIMPEXP_CORE wxComboPopup
 {
     friend class wxComboCtrlBase;
 public:
index 4f98670f68b51bc7dcf45765c44b54f51227cbf6..ce7ba61aeebc1a093706212e5138f7de6e904b34 100644 (file)
@@ -16,7 +16,7 @@
 
 #if wxUSE_COMBOBOX
 
-extern WXDLLEXPORT_DATA(const char) wxComboBoxNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxComboBoxNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxComboBoxBase: this interface defines the methods wxComboBox must implement
@@ -25,7 +25,7 @@ extern WXDLLEXPORT_DATA(const char) wxComboBoxNameStr[];
 #include "wx/ctrlsub.h"
 #include "wx/textentry.h"
 
-class WXDLLEXPORT wxComboBoxBase : public wxItemContainer,
+class WXDLLIMPEXP_CORE wxComboBoxBase : public wxItemContainer,
                                    public wxTextEntry
 {
 public:
index 0ba59825c5905d714afe03b24f980783c194175d..7dcf2a048e2bdb15b06be9e85a735d0e7f9e89f1 100644 (file)
@@ -31,7 +31,7 @@ class WXDLLIMPEXP_FWD_CORE wxWindowBase;
 // wxControlContainerBase: common part used in both native and generic cases
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxControlContainerBase
+class WXDLLIMPEXP_CORE wxControlContainerBase
 {
 public:
     // default ctor, SetContainerWindow() must be called later
@@ -163,7 +163,7 @@ protected:                                                                    \
 // ----------------------------------------------------------------------------
 
 // this must be a real class as we forward-declare it elsewhere
-class WXDLLEXPORT wxControlContainer : public wxControlContainerBase
+class WXDLLIMPEXP_CORE wxControlContainer : public wxControlContainerBase
 {
 protected:
     // set the focus to the child which had it the last time
@@ -198,7 +198,7 @@ class WXDLLIMPEXP_FWD_CORE wxNavigationKeyEvent;
 // wxControlContainer for TAB navigation implemented in wx itself
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxControlContainer : public wxControlContainerBase
+class WXDLLIMPEXP_CORE wxControlContainer : public wxControlContainerBase
 {
 public:
     // default ctor, SetContainerWindow() must be called later
index 08e9aeceea97d08a872f936af53896283f70c995..2a91838078d0f681ad3e5dcbdc26044d7e6f1e94 100644 (file)
 
 #include "wx/window.h"      // base class
 
-extern WXDLLEXPORT_DATA(const char) wxControlNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxControlNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxControl is the base class for all controls
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxControlBase : public wxWindow
+class WXDLLIMPEXP_CORE wxControlBase : public wxWindow
 {
 public:
     wxControlBase() { }
index e80c2d0ab48b1892682ae62883bd4a8d6c97f660..a165ab220eafe7d850b062677462469594935925 100644 (file)
@@ -36,7 +36,7 @@
  * window for the application to display help for.
  */
 
-class WXDLLEXPORT wxContextHelp : public wxObject
+class WXDLLIMPEXP_CORE wxContextHelp : public wxObject
 {
 public:
     wxContextHelp(wxWindow* win = NULL, bool beginHelp = true);
@@ -65,7 +65,7 @@ private:
  * to put the application into context help mode.
  */
 
-class WXDLLEXPORT wxContextHelpButton : public wxBitmapButton
+class WXDLLIMPEXP_CORE wxContextHelpButton : public wxBitmapButton
 {
 public:
     wxContextHelpButton(wxWindow* parent,
@@ -106,7 +106,7 @@ private:
 // and overriding ShowHelp() but calling the base class version wouldn't work
 // any more, which forces us to use a rather ugly hack and pass the extra
 // parameters of ShowHelpAtPoint() to ShowHelp() via member variables.
-class WXDLLEXPORT wxHelpProvider
+class WXDLLIMPEXP_CORE wxHelpProvider
 {
 public:
     // get/set the current (application-global) help provider (Set() returns
@@ -188,7 +188,7 @@ WX_DECLARE_EXPORTED_HASH_MAP( wxUIntPtr, wxString, wxIntegerHash,
 // wxSimpleHelpProvider is an implementation of wxHelpProvider which supports
 // only plain text help strings and shows the string associated with the
 // control (if any) in a tooltip
-class WXDLLEXPORT wxSimpleHelpProvider : public wxHelpProvider
+class WXDLLIMPEXP_CORE wxSimpleHelpProvider : public wxHelpProvider
 {
 public:
     // implement wxHelpProvider methods
@@ -212,7 +212,7 @@ protected:
 // both context identifiers and plain text help strings. If the help text is an integer,
 // it is passed to wxHelpController::DisplayContextPopup. Otherwise, it shows the string
 // in a tooltip as per wxSimpleHelpProvider.
-class WXDLLEXPORT wxHelpControllerHelpProvider : public wxSimpleHelpProvider
+class WXDLLIMPEXP_CORE wxHelpControllerHelpProvider : public wxSimpleHelpProvider
 {
 public:
     // Note that it doesn't own the help controller. The help controller
@@ -236,7 +236,7 @@ protected:
 };
 
 // Convenience function for turning context id into wxString
-WXDLLEXPORT wxString wxContextId(int id);
+WXDLLIMPEXP_CORE wxString wxContextId(int id);
 
 #endif // wxUSE_HELP
 
index 453fe43438e006e66a43e4d31718ff5d8477a778..6cdbee1a1f538789b0f3b344ffae3c22586676fd 100644 (file)
@@ -30,7 +30,7 @@
 // implements an extended interface deriving from this one)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxItemContainerImmutable
+class WXDLLIMPEXP_CORE wxItemContainerImmutable
 {
 public:
     wxItemContainerImmutable() { }
@@ -97,7 +97,7 @@ protected:
 // in this case DoInsertItem() needs to be overridden.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxItemContainer : public wxItemContainerImmutable
+class WXDLLIMPEXP_CORE wxItemContainer : public wxItemContainerImmutable
 {
 private:
     // AppendItems() and InsertItems() helpers just call DoAppend/InsertItems()
@@ -412,7 +412,7 @@ private:
     wxClientData* GetClientObject(unsigned int n) const                    \
         { return wxItemContainer::GetClientObject(n); }
 
-class WXDLLEXPORT wxControlWithItemsBase : public wxControl,
+class WXDLLIMPEXP_CORE wxControlWithItemsBase : public wxControl,
                                            public wxItemContainer
 {
 public:
@@ -446,7 +446,7 @@ private:
 #elif defined(__WXMOTIF__)
     #include "wx/motif/ctrlsub.h"
 #else
-    class WXDLLEXPORT wxControlWithItems : public wxControlWithItemsBase
+    class WXDLLIMPEXP_CORE wxControlWithItems : public wxControlWithItemsBase
     {
     public:
         wxControlWithItems() { }
index 04fbee454f0fff610a2d22fe6390794067189ed2..f7923c0b6519cc1d2829b457beb3b7208d386927 100644 (file)
@@ -92,7 +92,7 @@ public:
 
 // the value for default argument to some functions (corresponds to
 // wxDF_INVALID)
-extern WXDLLEXPORT const wxDataFormat& wxFormatInvalid;
+extern WXDLLIMPEXP_CORE const wxDataFormat& wxFormatInvalid;
 
 // ----------------------------------------------------------------------------
 // wxDataObject represents a piece of data which knows which formats it
@@ -114,7 +114,7 @@ extern WXDLLEXPORT const wxDataFormat& wxFormatInvalid;
 // to be supported by SetData() or GetDataHere().
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDataObjectBase
+class WXDLLIMPEXP_CORE wxDataObjectBase
 {
 public:
     enum Direction
@@ -194,7 +194,7 @@ public:
 // Otherwise, you should use wxDataObjectComposite or wxDataObject directly.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDataObjectSimple : public wxDataObject
+class WXDLLIMPEXP_CORE wxDataObjectSimple : public wxDataObject
 {
 public:
     // ctor takes the format we support, but it can also be set later with
@@ -261,7 +261,7 @@ private:
 
 WX_DECLARE_EXPORTED_LIST(wxDataObjectSimple, wxSimpleDataObjectList);
 
-class WXDLLEXPORT wxDataObjectComposite : public wxDataObject
+class WXDLLIMPEXP_CORE wxDataObjectComposite : public wxDataObject
 {
 public:
     // ctor
@@ -324,7 +324,7 @@ private:
 // wxTextDataObject contains text data
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTextDataObject : public wxDataObjectSimple
+class WXDLLIMPEXP_CORE wxTextDataObject : public wxDataObjectSimple
 {
 public:
     // ctor: you can specify the text here or in SetText(), or override
@@ -392,7 +392,7 @@ private:
 // wxBitmapDataObject contains a bitmap
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmapDataObjectBase : public wxDataObjectSimple
+class WXDLLIMPEXP_CORE wxBitmapDataObjectBase : public wxDataObjectSimple
 {
 public:
     // ctor: you can specify the bitmap here or in SetBitmap(), or override
@@ -420,7 +420,7 @@ protected:
 //     data from drag and drop operation.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileDataObjectBase : public wxDataObjectSimple
+class WXDLLIMPEXP_CORE wxFileDataObjectBase : public wxDataObjectSimple
 {
 public:
     // ctor: use AddFile() later to fill the array
@@ -441,7 +441,7 @@ protected:
 // It is understood that this data can be copied bitwise.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxCustomDataObject : public wxDataObjectSimple
+class WXDLLIMPEXP_CORE wxCustomDataObject : public wxDataObjectSimple
 {
 public:
     // if you don't specify the format in the ctor, you can still use
@@ -523,7 +523,7 @@ private:
     #endif
 
     // wxURLDataObject is simply wxTextDataObject with a different name
-    class WXDLLEXPORT wxURLDataObject : public wxTextDataObject
+    class WXDLLIMPEXP_CORE wxURLDataObject : public wxTextDataObject
     {
     public:
         wxURLDataObject(const wxString& url = wxEmptyString)
index b94afb35c007121414335e1a4710a12bdad0f55d..f0fe623aa7da8ca63fc75bb2a5068e4b6d4d1c37 100644 (file)
@@ -46,7 +46,7 @@ class WXDLLIMPEXP_FWD_CORE wxPrintData;
 // wxDrawObject helper class
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDrawObject
+class WXDLLIMPEXP_CORE wxDrawObject
 {
 public:
 
@@ -1108,7 +1108,7 @@ private:
 // restore it automatically when the object goes out of scope
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDCTextColourChanger
+class WXDLLIMPEXP_CORE wxDCTextColourChanger
 {
 public:
     wxDCTextColourChanger(wxDC& dc) : m_dc(dc), m_colFgOld() { }
@@ -1144,7 +1144,7 @@ private:
 // restore it automatically when the object goes out of scope
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDCPenChanger
+class WXDLLIMPEXP_CORE wxDCPenChanger
 {
 public:
     wxDCPenChanger(wxDC& dc, const wxPen& pen) : m_dc(dc), m_penOld(dc.GetPen())
@@ -1171,7 +1171,7 @@ private:
 // restore it automatically when the object goes out of scope
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDCBrushChanger
+class WXDLLIMPEXP_CORE wxDCBrushChanger
 {
 public:
     wxDCBrushChanger(wxDC& dc, const wxBrush& brush) : m_dc(dc), m_brushOld(dc.GetBrush())
@@ -1198,7 +1198,7 @@ private:
 // destroys it in the dtor
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDCClipper
+class WXDLLIMPEXP_CORE wxDCClipper
 {
 public:
     wxDCClipper(wxDC& dc, const wxRegion& r) : m_dc(dc)
index d51692eb4f457ae3e6fe10ca0ecf7c6d62f79a41..5de63597c0738f89aa5ccadad3e1b2d89d0713c7 100644 (file)
@@ -21,7 +21,7 @@
 class WXDLLIMPEXP_FWD_CORE wxWindowDC;
 
 
-class WXDLLEXPORT wxGCDC: public wxDC
+class WXDLLIMPEXP_CORE wxGCDC: public wxDC
 {
 public:
     wxGCDC( const wxWindowDC& dc );
@@ -37,7 +37,7 @@ public:
 };
 
 
-class WXDLLEXPORT wxGCDCImpl: public wxDCImpl
+class WXDLLIMPEXP_CORE wxGCDCImpl: public wxDCImpl
 {
 public:
     wxGCDCImpl( wxDC *owner, const wxWindowDC& dc );
index 5ffb9382a57552f58ca036147048e9453e2e4bba..94e33b2ad5db2dfa3ea3c6395984881757dc8e68 100644 (file)
@@ -18,7 +18,7 @@
 // wxMirrorDC allows to write the same code for horz/vertical layout
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMirrorDCImpl : public wxDCImpl
+class WXDLLIMPEXP_CORE wxMirrorDCImpl : public wxDCImpl
 {
 public:
     // constructs a mirror DC associated with the given real DC
@@ -275,7 +275,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxMirrorDCImpl)
 };
 
-class WXDLLEXPORT wxMirrorDC : public wxDC
+class WXDLLIMPEXP_CORE wxMirrorDC : public wxDC
 {
 public:
     wxMirrorDC(wxDC& dc, bool mirror)
index 62bfb792650b52d46cba89bdd21c101d181d47fd..9eee12da29ea6843403c2b8e230a3b008e6e49a5 100644 (file)
@@ -53,9 +53,9 @@ enum wxDialogLayoutAdaptationMode
     wxDIALOG_ADAPTATION_MODE_DISABLED = 2   // disable this dialog overriding global status
 };
 
-extern WXDLLEXPORT_DATA(const char) wxDialogNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxDialogNameStr[];
 
-class WXDLLEXPORT wxDialogBase : public wxTopLevelWindow
+class WXDLLIMPEXP_CORE wxDialogBase : public wxTopLevelWindow
 {
 public:
     enum
@@ -235,7 +235,7 @@ private:
  * a help mechanism.
  */
 
-class WXDLLEXPORT wxDialogLayoutAdapter: public wxObject
+class WXDLLIMPEXP_CORE wxDialogLayoutAdapter: public wxObject
 {
     DECLARE_CLASS(wxDialogLayoutAdapter)
 public:
@@ -253,7 +253,7 @@ public:
  *
  */
 
-class WXDLLEXPORT wxStandardDialogLayoutAdapter: public wxDialogLayoutAdapter
+class WXDLLIMPEXP_CORE wxStandardDialogLayoutAdapter: public wxDialogLayoutAdapter
 {
     DECLARE_CLASS(wxStandardDialogLayoutAdapter)
 public:
index 3c8a9dfdf9787c8ea9285c65dd3eed455f667547..73819e1df8ac80d889f06d195cf99dd972f986d6 100644 (file)
@@ -43,7 +43,7 @@ class WXDLLIMPEXP_FWD_BASE wxArrayString;
  *    main thread?
  */
 
-class WXDLLEXPORT wxDialUpManager
+class WXDLLIMPEXP_CORE wxDialUpManager
 {
 public:
     // this function should create and return the object of the
@@ -156,7 +156,7 @@ extern WXDLLIMPEXP_CORE const wxEventType wxEVT_DIALUP_CONNECTED;
 extern WXDLLIMPEXP_CORE const wxEventType wxEVT_DIALUP_DISCONNECTED;
 
 // the event class for the dialup events
-class WXDLLEXPORT wxDialUpEvent : public wxEvent
+class WXDLLIMPEXP_CORE wxDialUpEvent : public wxEvent
 {
 public:
     wxDialUpEvent(bool isConnected, bool isOwnEvent) : wxEvent(isOwnEvent)
index 4258accb07b16ed8d54112168e32b5faa95cfb8a..b7f0b8e890d7afbecab1d132f58c2f06c81a6c02 100644 (file)
@@ -20,9 +20,9 @@
 // constants
 // ----------------------------------------------------------------------------
 
-extern WXDLLEXPORT_DATA(const char) wxDirDialogNameStr[];
-extern WXDLLEXPORT_DATA(const char) wxDirDialogDefaultFolderStr[];
-extern WXDLLEXPORT_DATA(const char) wxDirSelectorPromptStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxDirDialogNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxDirDialogDefaultFolderStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxDirSelectorPromptStr[];
 
 #define wxDD_CHANGE_DIR         0x0100
 #define wxDD_DIR_MUST_EXIST     0x0200
@@ -40,7 +40,7 @@ extern WXDLLEXPORT_DATA(const char) wxDirSelectorPromptStr[];
 // wxDirDialogBase
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDirDialogBase : public wxDialog
+class WXDLLIMPEXP_CORE wxDirDialogBase : public wxDialog
 {
 public:
     wxDirDialogBase() {}
@@ -128,7 +128,7 @@ protected:
 // common ::wxDirSelector() function
 // ----------------------------------------------------------------------------
 
-WXDLLEXPORT wxString
+WXDLLIMPEXP_CORE wxString
 wxDirSelector(const wxString& message = wxDirSelectorPromptStr,
               const wxString& defaultPath = wxEmptyString,
               long style = wxDD_DEFAULT_STYLE,
index d91abbaf83e8101c6aa985f41eef30bdc4530b02..354b95d73cf06b8f5d36f0da899fcff68a0a9f7c 100644 (file)
@@ -22,7 +22,7 @@
     WX_DECLARE_EXPORTED_OBJARRAY(wxVideoMode, wxArrayVideoModes);
 
     // default, uninitialized, video mode object
-    extern WXDLLEXPORT_DATA(const wxVideoMode) wxDefaultVideoMode;
+    extern WXDLLIMPEXP_DATA_CORE(const wxVideoMode) wxDefaultVideoMode;
 #endif // wxUSE_DISPLAY
 
 class WXDLLIMPEXP_FWD_CORE wxWindow;
@@ -37,7 +37,7 @@ class WXDLLIMPEXP_FWD_CORE wxDisplayImpl;
 // wxDisplay: represents a display/monitor attached to the system
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDisplay
+class WXDLLIMPEXP_CORE wxDisplay
 {
 public:
     // initialize the object containing all information about the given
index 4fedb1ffcbdf168162539838d3c712b15a52f651..015ffec46685c46e2fa2a2ecced2ecd2e49f345d 100644 (file)
@@ -17,7 +17,7 @@
 // wxDisplayFactory: allows to create wxDisplay objects
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDisplayFactory
+class WXDLLIMPEXP_CORE wxDisplayFactory
 {
 public:
     wxDisplayFactory() { }
@@ -44,7 +44,7 @@ public:
 // wxDisplayImpl: base class for all wxDisplay implementations
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDisplayImpl
+class WXDLLIMPEXP_CORE wxDisplayImpl
 {
 public:
     // virtual dtor for this base class
@@ -98,7 +98,7 @@ protected:
 
 // this is a stub implementation using single/main display only, it is
 // available even if wxUSE_DISPLAY == 0
-class WXDLLEXPORT wxDisplayFactorySingle : public wxDisplayFactory
+class WXDLLIMPEXP_CORE wxDisplayFactorySingle : public wxDisplayFactory
 {
 public:
     virtual wxDisplayImpl *CreateDisplay(unsigned n);
index 13078ba56349ea0fc72eef08715a8e7e4c218d3c..e87c749ab71431107a0f3495cca7d4b153d40f60 100644 (file)
@@ -67,7 +67,7 @@
    support arbitrary combinations of libs/DLLs: either we build all of them as
    DLLs (in which case WXMAKINGDLL is defined) or none (it isn't).
 
-   However we have a problem because we need separate WXDLLEXPORT versions for
+   However we have a problem because we need separate WXDLLIMPEXP versions for
    different libraries as, for example, wxString class should be dllexported
    when compiled in wxBase and dllimported otherwise, so we do define separate
    WXMAKING/USINGDLL_XYZ constants for each component XYZ.
@@ -92,7 +92,7 @@
 #endif /* WXMAKINGDLL */
 
 /*
-   WXDLLEXPORT maps to export declaration when building the DLL, to import
+   WXDLLIMPEXP_CORE maps to export declaration when building the DLL, to import
    declaration if using it or to nothing at all if we don't use wxWin as DLL
  */
 #ifdef WXMAKINGDLL_BASE
     #else
         /*
            We need to disable this warning when using this macro, as
-           recommended by Microsoft itself: 
+           recommended by Microsoft itself:
 
            http://support.microsoft.com/default.aspx?scid=kb%3ben-us%3b168958
          */
index 498bbc7afe3321faf016af12353a7eea97679fb5..43c418f6ce10f556f453f90fc6980aa7434b98b6 100644 (file)
@@ -47,14 +47,14 @@ enum wxDragResult
 
 // return true if res indicates that something was done during a dnd operation,
 // i.e. is neither error nor none nor cancel
-WXDLLEXPORT bool wxIsDragResultOk(wxDragResult res);
+WXDLLIMPEXP_CORE bool wxIsDragResultOk(wxDragResult res);
 
 // ----------------------------------------------------------------------------
 // wxDropSource is the object you need to create (and call DoDragDrop on it)
 // to initiate a drag-and-drop operation
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDropSourceBase
+class WXDLLIMPEXP_CORE wxDropSourceBase
 {
 public:
     wxDropSourceBase(const wxCursor &cursorCopy = wxNullCursor,
@@ -129,7 +129,7 @@ protected:
 // OnData() is called)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDropTargetBase
+class WXDLLIMPEXP_CORE wxDropTargetBase
 {
 public:
     // ctor takes a pointer to heap-allocated wxDataObject which will be owned
@@ -233,7 +233,7 @@ protected:
 
 // A simple wxDropTarget derived class for text data: you only need to
 // override OnDropText() to get something working
-class WXDLLEXPORT wxTextDropTarget : public wxDropTarget
+class WXDLLIMPEXP_CORE wxTextDropTarget : public wxDropTarget
 {
 public:
     wxTextDropTarget();
@@ -247,7 +247,7 @@ private:
 };
 
 // A drop target which accepts files (dragged from File Manager or Explorer)
-class WXDLLEXPORT wxFileDropTarget : public wxDropTarget
+class WXDLLIMPEXP_CORE wxFileDropTarget : public wxDropTarget
 {
 public:
     wxFileDropTarget();
index e94973701c96514981db222933002d37ef691e3a..a94a48c73dda2ecb18d46ac7c52bfdc16cf2c73a 100644 (file)
@@ -23,7 +23,7 @@
  * Use this instead of wxMDIParentFrame
  */
 
-class WXDLLEXPORT wxDocMDIParentFrame: public wxMDIParentFrame
+class WXDLLIMPEXP_CORE wxDocMDIParentFrame: public wxMDIParentFrame
 {
 public:
     wxDocMDIParentFrame();
@@ -58,7 +58,7 @@ private:
  * Use this instead of wxMDIChildFrame
  */
 
-class WXDLLEXPORT wxDocMDIChildFrame: public wxMDIChildFrame
+class WXDLLIMPEXP_CORE wxDocMDIChildFrame: public wxMDIChildFrame
 {
 public:
     wxDocMDIChildFrame();
index 5bab609af67700185f1783f900c822fffd7d6ebe..f60233b2ce532d5d28f547491f08126560d5ab51 100644 (file)
@@ -60,7 +60,7 @@ enum
 
 #define wxMAX_FILE_HISTORY 9
 
-class WXDLLEXPORT wxDocument : public wxEvtHandler
+class WXDLLIMPEXP_CORE wxDocument : public wxEvtHandler
 {
 public:
     wxDocument(wxDocument *parent = (wxDocument *) NULL);
@@ -181,7 +181,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxDocument)
 };
 
-class WXDLLEXPORT wxView: public wxEvtHandler
+class WXDLLIMPEXP_CORE wxView: public wxEvtHandler
 {
 public:
     //  wxView(wxDocument *doc = (wxDocument *) NULL);
@@ -241,7 +241,7 @@ private:
 };
 
 // Represents user interface (and other) properties of documents and views
-class WXDLLEXPORT wxDocTemplate: public wxObject
+class WXDLLIMPEXP_CORE wxDocTemplate: public wxObject
 {
 
 friend class WXDLLIMPEXP_FWD_CORE wxDocManager;
@@ -322,7 +322,7 @@ private:
 
 // One object of this class may be created in an application, to manage all
 // the templates and documents.
-class WXDLLEXPORT wxDocManager: public wxEvtHandler
+class WXDLLIMPEXP_CORE wxDocManager: public wxEvtHandler
 {
 public:
     wxDocManager(long flags = wxDEFAULT_DOCMAN_FLAGS, bool initialize = true);
@@ -475,7 +475,7 @@ inline size_t wxDocManager::GetNoHistoryFiles() const
 // A default child frame
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDocChildFrame : public wxFrame
+class WXDLLIMPEXP_CORE wxDocChildFrame : public wxFrame
 {
 public:
     wxDocChildFrame(wxDocument *doc,
@@ -515,7 +515,7 @@ private:
 // A default parent frame
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDocParentFrame : public wxFrame
+class WXDLLIMPEXP_CORE wxDocParentFrame : public wxFrame
 {
 public:
     wxDocParentFrame();
@@ -561,7 +561,7 @@ private:
 // ----------------------------------------------------------------------------
 
 #if wxUSE_PRINTING_ARCHITECTURE
-class WXDLLEXPORT wxDocPrintout : public wxPrintout
+class WXDLLIMPEXP_CORE wxDocPrintout : public wxPrintout
 {
 public:
     wxDocPrintout(wxView *view = (wxView *) NULL, const wxString& title = wxT("Printout"));
@@ -585,7 +585,7 @@ private:
 // File history management
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileHistory : public wxObject
+class WXDLLIMPEXP_CORE wxFileHistory : public wxObject
 {
 public:
     wxFileHistory(size_t maxFiles = 9, wxWindowID idBase = wxID_FILE1);
@@ -651,13 +651,13 @@ inline size_t wxFileHistory::GetNoHistoryFiles() const
 #if wxUSE_STD_IOSTREAM
 // For compatibility with existing file formats:
 // converts from/to a stream to/from a temporary file.
-bool WXDLLEXPORT wxTransferFileToStream(const wxString& filename, wxSTD ostream& stream);
-bool WXDLLEXPORT wxTransferStreamToFile(wxSTD istream& stream, const wxString& filename);
+bool WXDLLIMPEXP_CORE wxTransferFileToStream(const wxString& filename, wxSTD ostream& stream);
+bool WXDLLIMPEXP_CORE wxTransferStreamToFile(wxSTD istream& stream, const wxString& filename);
 #else
 // For compatibility with existing file formats:
 // converts from/to a stream to/from a temporary file.
-bool WXDLLEXPORT wxTransferFileToStream(const wxString& filename, wxOutputStream& stream);
-bool WXDLLEXPORT wxTransferStreamToFile(wxInputStream& stream, const wxString& filename);
+bool WXDLLIMPEXP_CORE wxTransferFileToStream(const wxString& filename, wxOutputStream& stream);
+bool WXDLLIMPEXP_CORE wxTransferStreamToFile(wxInputStream& stream, const wxString& filename);
 #endif // wxUSE_STD_IOSTREAM
 
 #endif // wxUSE_DOC_VIEW_ARCHITECTURE
index 6dabfa5b2b87f64fc8842f9cbc4cb8fe5376686a..f9e5d3e9a2f53ca1c84378e455ce0bd9dbf07246 100644 (file)
@@ -633,7 +633,7 @@ private:                                                                 \
     WX_DECLARE_USER_EXPORTED_BASEARRAY(T, name, wxARRAY_DEFAULT_EXPORT)
 
 #define WX_DECLARE_EXPORTED_BASEARRAY(T, name)                    \
-    WX_DECLARE_USER_EXPORTED_BASEARRAY(T, name, WXDLLEXPORT)
+    WX_DECLARE_USER_EXPORTED_BASEARRAY(T, name, WXDLLIMPEXP_CORE)
 
 #define WX_DECLARE_USER_EXPORTED_BASEARRAY(T, name, expmode)      \
     typedef T _wxArray##name;                                     \
@@ -654,10 +654,10 @@ private:                                                                 \
     WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class wxARRAY_DEFAULT_EXPORT)
 
 #define WX_DEFINE_EXPORTED_TYPEARRAY(T, name, base)               \
-    WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class WXDLLEXPORT)
+    WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class WXDLLIMPEXP_CORE)
 
 #define WX_DEFINE_EXPORTED_TYPEARRAY_PTR(T, name, base)               \
-    WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class WXDLLEXPORT)
+    WX_DEFINE_TYPEARRAY_WITH_DECL_PTR(T, name, base, class WXDLLIMPEXP_CORE)
 
 #define WX_DEFINE_USER_EXPORTED_TYPEARRAY(T, name, base, expdecl) \
     WX_DEFINE_TYPEARRAY_WITH_DECL(T, name, base, class expdecl)
@@ -710,7 +710,7 @@ private:                                                                 \
                                              wxARRAY_DEFAULT_EXPORT)
 
 #define WX_DEFINE_SORTED_EXPORTED_TYPEARRAY(T, name, base)                \
-    WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY(T, name, base, WXDLLEXPORT)
+    WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY(T, name, base, WXDLLIMPEXP_CORE)
 
 #define WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY(T, name, base, expmode)  \
     typedef T _wxArray##name;                                             \
@@ -736,7 +736,7 @@ private:                                                                 \
 
 #define WX_DEFINE_SORTED_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base)      \
     WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base,     \
-                                                 WXDLLEXPORT)
+                                                 WXDLLIMPEXP_CORE)
 
 #define WX_DEFINE_SORTED_USER_EXPORTED_TYPEARRAY_CMP(T, cmpfunc, name, base, \
                                                      expmode)                \
@@ -789,7 +789,7 @@ private:                                                                 \
     WX_DECLARE_USER_EXPORTED_OBJARRAY(T, name, wxARRAY_DEFAULT_EXPORT)
 
 #define WX_DECLARE_EXPORTED_OBJARRAY(T, name)               \
-    WX_DECLARE_USER_EXPORTED_OBJARRAY(T, name, WXDLLEXPORT)
+    WX_DECLARE_USER_EXPORTED_OBJARRAY(T, name, WXDLLIMPEXP_CORE)
 
 #define WX_DECLARE_OBJARRAY_WITH_DECL(T, name, decl) \
     typedef T _wxObjArray##name;                            \
index 09080653d3136ccd3551507fb8a9a33fed3cbe10..c3e3fcc345743bfd38eaa3425c5741b071e00777 100644 (file)
@@ -28,7 +28,7 @@
 #include "wx/gdicmn.h"
 #include "wx/dc.h"
 
-class WXDLLEXPORT wxEffectsImpl: public wxObject
+class WXDLLIMPEXP_CORE wxEffectsImpl: public wxObject
 {
 public:
     // Assume system colours
index 27550701f46db3c37a3339fe3833e03571cf778f..b35acb1a652743c0434b645cab587c8eb243d625 100644 (file)
@@ -32,7 +32,7 @@
 // to create a font of non-standard encoding (like KOI8) under Windows - the
 // facename specifies the encoding then)
 
-struct WXDLLEXPORT wxNativeEncodingInfo
+struct WXDLLIMPEXP_CORE wxNativeEncodingInfo
 {
     wxString facename;          // may be empty meaning "any"
 #ifndef __WXPALMOS__
index f6d1b55313303ecced284f1c87218e41493769f3..6a573d713c8bc23f45cb09091a07639974145bea 100644 (file)
@@ -123,7 +123,7 @@ protected:
 
 class WXDLLIMPEXP_FWD_CORE wxEventLoopImpl;
 
-class WXDLLEXPORT wxGUIEventLoop : public wxEventLoopBase
+class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxEventLoopBase
 {
 public:
     wxGUIEventLoop() { m_impl = NULL; }
@@ -174,7 +174,7 @@ inline bool wxEventLoopBase::IsRunning() const { return GetActive() == this; }
 // implement modality, we will surely need platform-specific implementations
 // too, this generic implementation is here only temporarily to see how it
 // works
-class WXDLLEXPORT wxModalEventLoop : public wxGUIEventLoop
+class WXDLLIMPEXP_CORE wxModalEventLoop : public wxGUIEventLoop
 {
 public:
     wxModalEventLoop(wxWindow *winModal)
index ed657a5d7a07ced31f19300e2fe7a6da99ab4401..52175bebe55e017c2935eccbb21b7b66af15b297 100644 (file)
@@ -60,7 +60,7 @@ enum wxFindReplaceDialogStyles
 // wxFindReplaceData: holds Setup Data/Feedback Data for wxFindReplaceDialog
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFindReplaceData : public wxObject
+class WXDLLIMPEXP_CORE wxFindReplaceData : public wxObject
 {
 public:
     wxFindReplaceData() { Init(); }
@@ -93,7 +93,7 @@ private:
 // wxFindReplaceDialogBase
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFindReplaceDialogBase : public wxDialog
+class WXDLLIMPEXP_CORE wxFindReplaceDialogBase : public wxDialog
 {
 public:
     // ctors and such
@@ -137,7 +137,7 @@ protected:
 // wxFindReplaceDialog events
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFindDialogEvent : public wxCommandEvent
+class WXDLLIMPEXP_CORE wxFindDialogEvent : public wxCommandEvent
 {
 public:
     wxFindDialogEvent(wxEventType commandType = wxEVT_NULL, int id = 0)
index ad22cebdcfe5a156f0197a28155700de1ae39320..b3756ef62c38b9d0c661d756dd466cf3c52e87c0 100644 (file)
@@ -29,7 +29,7 @@ enum
 };
 
 #define wxFC_DEFAULT_STYLE wxFC_OPEN
-extern WXDLLEXPORT_DATA( const wxChar ) wxFileCtrlNameStr[]; // in filectrlcmn.cpp
+extern WXDLLIMPEXP_DATA_CORE( const wxChar ) wxFileCtrlNameStr[]; // in filectrlcmn.cpp
 
 extern WXDLLIMPEXP_CORE const wxEventType wxEVT_FILECTRL_SELECTIONCHANGED;
 extern WXDLLIMPEXP_CORE const wxEventType wxEVT_FILECTRL_FILEACTIVATED;
index 7abc596350cd00d2c47077471eb3d8f9901b3b6f..e939c82d5e1c4f17e9caa263e1a08d383551a93f 100644 (file)
@@ -58,15 +58,15 @@ enum
 
 #define wxFD_DEFAULT_STYLE      wxFD_OPEN
 
-extern WXDLLEXPORT_DATA(const char) wxFileDialogNameStr[];
-extern WXDLLEXPORT_DATA(const char) wxFileSelectorPromptStr[];
-extern WXDLLEXPORT_DATA(const char) wxFileSelectorDefaultWildcardStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxFileDialogNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxFileSelectorPromptStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxFileSelectorDefaultWildcardStr[];
 
 //----------------------------------------------------------------------------
 // wxFileDialogBase
 //----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileDialogBase: public wxDialog
+class WXDLLIMPEXP_CORE wxFileDialogBase: public wxDialog
 {
 public:
     wxFileDialogBase () { Init(); }
@@ -170,7 +170,7 @@ private:
 //----------------------------------------------------------------------------
 
 // File selector - backward compatibility
-WXDLLEXPORT wxString
+WXDLLIMPEXP_CORE wxString
 wxFileSelector(const wxString& message = wxFileSelectorPromptStr,
                const wxString& default_path = wxEmptyString,
                const wxString& default_filename = wxEmptyString,
@@ -181,7 +181,7 @@ wxFileSelector(const wxString& message = wxFileSelectorPromptStr,
                int x = wxDefaultCoord, int y = wxDefaultCoord);
 
 // An extended version of wxFileSelector
-WXDLLEXPORT wxString
+WXDLLIMPEXP_CORE wxString
 wxFileSelectorEx(const wxString& message = wxFileSelectorPromptStr,
                  const wxString& default_path = wxEmptyString,
                  const wxString& default_filename = wxEmptyString,
@@ -192,14 +192,14 @@ wxFileSelectorEx(const wxString& message = wxFileSelectorPromptStr,
                  int x = wxDefaultCoord, int y = wxDefaultCoord);
 
 // Ask for filename to load
-WXDLLEXPORT wxString
+WXDLLIMPEXP_CORE wxString
 wxLoadFileSelector(const wxString& what,
                    const wxString& extension,
                    const wxString& default_name = wxEmptyString,
                    wxWindow *parent = NULL);
 
 // Ask for filename to save
-WXDLLEXPORT wxString
+WXDLLIMPEXP_CORE wxString
 wxSaveFileSelector(const wxString& what,
                    const wxString& extension,
                    const wxString& default_name = wxEmptyString,
index 0f0c7cc57a5284031e730f9da3fc73b4984d8e7c..d06d94af1e8aa181bf9c8b236515c91a8fe45969 100644 (file)
 class WXDLLIMPEXP_FWD_CORE wxDialog;
 class WXDLLIMPEXP_FWD_CORE wxFileDirPickerEvent;
 
-extern WXDLLEXPORT_DATA(const char) wxFilePickerWidgetLabel[];
-extern WXDLLEXPORT_DATA(const char) wxFilePickerWidgetNameStr[];
-extern WXDLLEXPORT_DATA(const char) wxFilePickerCtrlNameStr[];
-extern WXDLLEXPORT_DATA(const char) wxFileSelectorPromptStr[];
-
-extern WXDLLEXPORT_DATA(const char) wxDirPickerWidgetLabel[];
-extern WXDLLEXPORT_DATA(const char) wxDirPickerWidgetNameStr[];
-extern WXDLLEXPORT_DATA(const char) wxDirPickerCtrlNameStr[];
-extern WXDLLEXPORT_DATA(const char) wxDirSelectorPromptStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxFilePickerWidgetLabel[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxFilePickerWidgetNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxFilePickerCtrlNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxFileSelectorPromptStr[];
+
+extern WXDLLIMPEXP_DATA_CORE(const char) wxDirPickerWidgetLabel[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxDirPickerWidgetNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxDirPickerCtrlNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxDirSelectorPromptStr[];
 
 
 // ----------------------------------------------------------------------------
index 3ef53d35807d9b785ec1ff53d2ae05cc5c5bf1ab..c97ea06194ee35cef6b1d493f97c165a48811042 100644 (file)
@@ -108,7 +108,7 @@ enum
 
 class WXDLLIMPEXP_FWD_CORE wxNativeFontInfo;
 
-class WXDLLEXPORT wxFontBase : public wxGDIObject
+class WXDLLIMPEXP_CORE wxFontBase : public wxGDIObject
 {
 public:
     // creator function
@@ -276,7 +276,7 @@ public:
 #endif
 };
 
-extern WXDLLEXPORT_DATA(wxFontList*)    wxTheFontList;
+extern WXDLLIMPEXP_DATA_CORE(wxFontList*)    wxTheFontList;
 
 #endif
     // _WX_FONT_H_BASE_
index 00f2d19f01e070fd04cd04b375cf09cfd148625d..dfeacdc4d79b5a859afc7944d677119d98e9ce53 100644 (file)
@@ -23,7 +23,7 @@
 // wxFontDialog interface
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFontDialogBase : public wxDialog
+class WXDLLIMPEXP_CORE wxFontDialogBase : public wxDialog
 {
 public:
     // create the font dialog
@@ -74,7 +74,7 @@ inline bool wxFontDialogBase::Create(wxWindow *parent, const wxFontData *data)
 // platform-specific wxFontDialog implementation
 // ----------------------------------------------------------------------------
 
-#if defined( __WXMAC_OSX__ ) 
+#if defined( __WXMAC_OSX__ )
 //set to 1 to use native mac font and color dialogs
 #define USE_NATIVE_FONT_DIALOG_FOR_MACOSX 1
 #else
@@ -108,9 +108,9 @@ inline bool wxFontDialogBase::Create(wxWindow *parent, const wxFontData *data)
 
 // get the font from user and return it, returns wxNullFont if the dialog was
 // cancelled
-wxFont WXDLLEXPORT
-wxGetFontFromUser(wxWindow *parent = (wxWindow *)NULL,
-                  const wxFont& fontInit = wxNullFont, const wxString& caption = wxEmptyString);
+WXDLLIMPEXP_CORE wxFont wxGetFontFromUser(wxWindow *parent = (wxWindow *)NULL,
+                                          const wxFont& fontInit = wxNullFont,
+                                          const wxString& caption = wxEmptyString);
 
 #endif // wxUSE_FONTDLG
 
index 29127061a8bcf78899e5c21cd9efac0143c494dd..ca127b3c8aa4d97ded4dc4a2d908a6ba5053ab6b 100644 (file)
@@ -25,7 +25,7 @@
 // fonts with given attributes
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFontEnumerator
+class WXDLLIMPEXP_CORE wxFontEnumerator
 {
 public:
     wxFontEnumerator() {}
index a2ff40e953375a36e2d09b440635ced2372c17ae..36cbacedec56b4562cd8ca09f16874e7aa49da4f 100644 (file)
@@ -22,8 +22,8 @@
 
 class WXDLLIMPEXP_FWD_CORE wxFontPickerEvent;
 
-extern WXDLLEXPORT_DATA(const char) wxFontPickerWidgetNameStr[];
-extern WXDLLEXPORT_DATA(const char) wxFontPickerCtrlNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxFontPickerWidgetNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxFontPickerCtrlNameStr[];
 
 
 // ----------------------------------------------------------------------------
index 21a4f8b88716c8b38590f4d17cfbf6f3c128138e..3efd2d1e2c9ad86f19d31558b07d036708442df9 100644 (file)
@@ -65,7 +65,7 @@ enum wxXLFDField
 // functions, the user code can only get the objects of this type from
 // somewhere and pass it somewhere else (possibly save them somewhere using
 // ToString() and restore them using FromString())
-class WXDLLEXPORT wxNativeFontInfo
+class WXDLLIMPEXP_CORE wxNativeFontInfo
 {
 public:
 #if wxUSE_PANGO
index 3c2c3888d8dae3852c44ba7d53da439829e4abec..a84dbcd302e92fa271d1b066a385022ec605c0aa 100644 (file)
@@ -19,8 +19,8 @@
 #include "wx/toplevel.h"      // the base class
 
 // the default names for various classs
-extern WXDLLEXPORT_DATA(const char) wxStatusLineNameStr[];
-extern WXDLLEXPORT_DATA(const char) wxToolBarNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxStatusLineNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxToolBarNameStr[];
 
 class WXDLLIMPEXP_FWD_CORE wxFrame;
 class WXDLLIMPEXP_FWD_CORE wxMenuBar;
@@ -50,7 +50,7 @@ class WXDLLIMPEXP_FWD_CORE wxToolBar;
 // CreateXXXBar() is called.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFrameBase : public wxTopLevelWindow
+class WXDLLIMPEXP_CORE wxFrameBase : public wxTopLevelWindow
 {
 public:
     // construction
index 6a6317a5f25c7a4dda9a9e72d095f1e0592a0925..bfb9f70eb215ae6f8440d5989609c2d52fe977cb 100644 (file)
     #define wxGAUGE_EMULATE_INDETERMINATE_MODE 0
 #endif
 
-extern WXDLLEXPORT_DATA(const char) wxGaugeNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxGaugeNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxGauge: a progress bar
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGaugeBase : public wxControl
+class WXDLLIMPEXP_CORE wxGaugeBase : public wxControl
 {
 public:
     wxGaugeBase() { m_rangeMax = m_gaugePos = 0; }
index 45812f8f22f800d3e6c458418c6cf4488ff9dc44..2779243f52aedddf883f1118d8859beb0302b636 100644 (file)
@@ -28,7 +28,7 @@
 // is used for this and also for wxGridCellCoords.
 //---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGBPosition
+class WXDLLIMPEXP_CORE wxGBPosition
 {
 public:
     wxGBPosition() : m_row(0), m_col(0) {}
@@ -50,7 +50,7 @@ private:
 };
 
 
-class WXDLLEXPORT wxGBSpan
+class WXDLLIMPEXP_CORE wxGBSpan
 {
 public:
     wxGBSpan() : m_rowspan(1), m_colspan(1) {}
@@ -72,7 +72,7 @@ private:
 };
 
 
-extern WXDLLEXPORT_DATA(const wxGBSpan) wxDefaultSpan;
+extern WXDLLIMPEXP_DATA_CORE(const wxGBSpan) wxDefaultSpan;
 
 
 //---------------------------------------------------------------------------
@@ -82,7 +82,7 @@ extern WXDLLEXPORT_DATA(const wxGBSpan) wxDefaultSpan;
 class WXDLLIMPEXP_FWD_CORE wxGridBagSizer;
 
 
-class WXDLLEXPORT wxGBSizerItem : public wxSizerItem
+class WXDLLIMPEXP_CORE wxGBSizerItem : public wxSizerItem
 {
 public:
     // spacer
@@ -165,7 +165,7 @@ private:
 //---------------------------------------------------------------------------
 
 
-class WXDLLEXPORT wxGridBagSizer : public wxFlexGridSizer
+class WXDLLIMPEXP_CORE wxGridBagSizer : public wxFlexGridSizer
 {
 public:
     wxGridBagSizer(int vgap = 0, int hgap = 0 );
index dfad910181020ca115f9f764ece84ebae5243030..acc4cf32c53b0cbc6b239982033083f7e8c3c1b1 100644 (file)
@@ -206,7 +206,7 @@ enum wxStockCursor
 // wxSize
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSize
+class WXDLLIMPEXP_CORE wxSize
 {
 public:
     // members are public for compatibility, don't use them directly.
@@ -313,7 +313,7 @@ inline wxSize operator*(int i, const wxSize& s)
 // Point classes: with real or integer coordinates
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxRealPoint
+class WXDLLIMPEXP_CORE wxRealPoint
 {
 public:
     double x;
@@ -352,7 +352,7 @@ inline wxRealPoint operator-(const wxRealPoint& p1, const wxRealPoint& p2)
 // wxPoint: 2D point with integer coordinates
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPoint
+class WXDLLIMPEXP_CORE wxPoint
 {
 public:
     int x, y;
@@ -425,7 +425,7 @@ WX_DECLARE_LIST_WITH_DECL(wxPoint, wxPointList, class WXDLLIMPEXP_CORE);
 // wxRect
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxRect
+class WXDLLIMPEXP_CORE wxRect
 {
 public:
     wxRect()
@@ -620,7 +620,7 @@ protected:
 
 WX_DECLARE_STRING_HASH_MAP(wxColour*, wxStringToColourHashMap);
 
-class WXDLLEXPORT wxColourDatabase
+class WXDLLIMPEXP_CORE wxColourDatabase
 {
 public:
     wxColourDatabase();
@@ -653,7 +653,7 @@ private:
     wxStringToColourHashMap *m_map;
 };
 
-class WXDLLEXPORT wxResourceCache: public wxList
+class WXDLLIMPEXP_CORE wxResourceCache: public wxList
 {
 public:
     wxResourceCache() { }
@@ -780,50 +780,50 @@ protected:
 #define wxSTANDARD_CURSOR   wxStockGDI::GetCursor(wxStockGDI::CURSOR_STANDARD)
 
 // 'Null' objects
-extern WXDLLEXPORT_DATA(wxBitmap)     wxNullBitmap;
-extern WXDLLEXPORT_DATA(wxIcon)       wxNullIcon;
-extern WXDLLEXPORT_DATA(wxCursor)     wxNullCursor;
-extern WXDLLEXPORT_DATA(wxPen)        wxNullPen;
-extern WXDLLEXPORT_DATA(wxBrush)      wxNullBrush;
-extern WXDLLEXPORT_DATA(wxPalette)    wxNullPalette;
-extern WXDLLEXPORT_DATA(wxFont)       wxNullFont;
-extern WXDLLEXPORT_DATA(wxColour)     wxNullColour;
-extern WXDLLEXPORT_DATA(wxIconBundle) wxNullIconBundle;
+extern WXDLLIMPEXP_DATA_CORE(wxBitmap)     wxNullBitmap;
+extern WXDLLIMPEXP_DATA_CORE(wxIcon)       wxNullIcon;
+extern WXDLLIMPEXP_DATA_CORE(wxCursor)     wxNullCursor;
+extern WXDLLIMPEXP_DATA_CORE(wxPen)        wxNullPen;
+extern WXDLLIMPEXP_DATA_CORE(wxBrush)      wxNullBrush;
+extern WXDLLIMPEXP_DATA_CORE(wxPalette)    wxNullPalette;
+extern WXDLLIMPEXP_DATA_CORE(wxFont)       wxNullFont;
+extern WXDLLIMPEXP_DATA_CORE(wxColour)     wxNullColour;
+extern WXDLLIMPEXP_DATA_CORE(wxIconBundle) wxNullIconBundle;
 
-extern WXDLLEXPORT_DATA(wxColourDatabase*)  wxTheColourDatabase;
+extern WXDLLIMPEXP_DATA_CORE(wxColourDatabase*)  wxTheColourDatabase;
 
-extern WXDLLEXPORT_DATA(const char) wxPanelNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxPanelNameStr[];
 
-extern WXDLLEXPORT_DATA(const wxSize) wxDefaultSize;
-extern WXDLLEXPORT_DATA(const wxPoint) wxDefaultPosition;
+extern WXDLLIMPEXP_DATA_CORE(const wxSize) wxDefaultSize;
+extern WXDLLIMPEXP_DATA_CORE(const wxPoint) wxDefaultPosition;
 
 // ---------------------------------------------------------------------------
 // global functions
 // ---------------------------------------------------------------------------
 
 // resource management
-extern void WXDLLEXPORT wxInitializeStockLists();
-extern void WXDLLEXPORT wxDeleteStockLists();
+extern void WXDLLIMPEXP_CORE wxInitializeStockLists();
+extern void WXDLLIMPEXP_CORE wxDeleteStockLists();
 
 // is the display colour (or monochrome)?
-extern bool WXDLLEXPORT wxColourDisplay();
+extern bool WXDLLIMPEXP_CORE wxColourDisplay();
 
 // Returns depth of screen
-extern int WXDLLEXPORT wxDisplayDepth();
+extern int WXDLLIMPEXP_CORE wxDisplayDepth();
 #define wxGetDisplayDepth wxDisplayDepth
 
 // get the display size
-extern void WXDLLEXPORT wxDisplaySize(int *width, int *height);
-extern wxSize WXDLLEXPORT wxGetDisplaySize();
-extern void WXDLLEXPORT wxDisplaySizeMM(int *width, int *height);
-extern wxSize WXDLLEXPORT wxGetDisplaySizeMM();
+extern void WXDLLIMPEXP_CORE wxDisplaySize(int *width, int *height);
+extern wxSize WXDLLIMPEXP_CORE wxGetDisplaySize();
+extern void WXDLLIMPEXP_CORE wxDisplaySizeMM(int *width, int *height);
+extern wxSize WXDLLIMPEXP_CORE wxGetDisplaySizeMM();
 
 // Get position and size of the display workarea
-extern void WXDLLEXPORT wxClientDisplayRect(int *x, int *y, int *width, int *height);
-extern wxRect WXDLLEXPORT wxGetClientDisplayRect();
+extern void WXDLLIMPEXP_CORE wxClientDisplayRect(int *x, int *y, int *width, int *height);
+extern wxRect WXDLLIMPEXP_CORE wxGetClientDisplayRect();
 
 // set global cursor
-extern void WXDLLEXPORT wxSetCursor(const wxCursor& cursor);
+extern void WXDLLIMPEXP_CORE wxSetCursor(const wxCursor& cursor);
 
 #endif
     // _WX_GDICMNH__
index 04ca07ed559f40248a9df696370804a37b45d140..a17e5a3ef92240e775ec477133f4e0fb4c26e920 100644 (file)
@@ -16,7 +16,7 @@ class WXDLLIMPEXP_FWD_CORE wxKeyEvent;
 // wxAcceleratorTable
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxAcceleratorTable : public wxObject
+class WXDLLIMPEXP_CORE wxAcceleratorTable : public wxObject
 {
 public:
     wxAcceleratorTable();
index feaa431831b25d6db3341b696522da064317db28..a48067b1752aa9ed764765a8f2481eaba27e9e89 100644 (file)
@@ -23,7 +23,7 @@ class WXDLLIMPEXP_FWD_CORE wxWindow;
 //                  Can be used in exactly same way as wxBusyCursor
 //--------------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBusyInfo : public wxObject
+class WXDLLIMPEXP_CORE wxBusyInfo : public wxObject
 {
 public:
     wxBusyInfo(const wxString& message, wxWindow *parent = NULL);
index 165c962d9312abc0f597339aca20e73b1ac38a61..3a4a464a45e5886119d8b625607832e723598f3a 100644 (file)
@@ -22,7 +22,7 @@ class WXDLLIMPEXP_FWD_CORE wxButtonToolBarTool;
 // wxButtonToolBar
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxButtonToolBar : public wxToolBarBase
+class WXDLLIMPEXP_CORE wxButtonToolBar : public wxToolBarBase
 {
 public:
     // construction/destruction
index 63166298dc674301df928197acb11e6acd65de60..15f5469bb490551669da9031d1983913637d4b9a 100644 (file)
@@ -22,7 +22,7 @@
 
 class WXDLLIMPEXP_FWD_CORE wxCaret;
 
-class WXDLLEXPORT wxCaretTimer : public wxTimer
+class WXDLLIMPEXP_CORE wxCaretTimer : public wxTimer
 {
 public:
     wxCaretTimer(wxCaret *caret);
index 57fc94131f4d594fd03b091263eaaf293fae903c..e2f637305b811f86ba5f0221040648ca5e34b35a 100644 (file)
@@ -36,7 +36,7 @@ class WXDLLIMPEXP_FWD_CORE wxListBoxBase;
 // wxAnyChoiceDialog: a base class for dialogs containing a listbox
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxAnyChoiceDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxAnyChoiceDialog : public wxDialog
 {
 public:
     wxAnyChoiceDialog() { }
@@ -93,7 +93,7 @@ protected:
 // wxSingleChoiceDialog: a dialog with single selection listbox
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSingleChoiceDialog : public wxAnyChoiceDialog
+class WXDLLIMPEXP_CORE wxSingleChoiceDialog : public wxAnyChoiceDialog
 {
 public:
     wxSingleChoiceDialog()
@@ -164,7 +164,7 @@ private:
 // wxMultiChoiceDialog: a dialog with multi selection listbox
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMultiChoiceDialog : public wxAnyChoiceDialog
+class WXDLLIMPEXP_CORE wxMultiChoiceDialog : public wxAnyChoiceDialog
 {
 public:
     wxMultiChoiceDialog() { }
@@ -227,7 +227,7 @@ private:
 // ----------------------------------------------------------------------------
 
 // get the user selection as a string
-WXDLLEXPORT wxString wxGetSingleChoice(const wxString& message,
+WXDLLIMPEXP_CORE wxString wxGetSingleChoice(const wxString& message,
                                        const wxString& caption,
                                        const wxArrayString& choices,
                                        wxWindow *parent = NULL,
@@ -237,7 +237,7 @@ WXDLLEXPORT wxString wxGetSingleChoice(const wxString& message,
                                        int width = wxCHOICE_WIDTH,
                                        int height = wxCHOICE_HEIGHT);
 
-WXDLLEXPORT wxString wxGetSingleChoice(const wxString& message,
+WXDLLIMPEXP_CORE wxString wxGetSingleChoice(const wxString& message,
                                        const wxString& caption,
                                        int n, const wxString *choices,
                                        wxWindow *parent = NULL,
@@ -249,7 +249,7 @@ WXDLLEXPORT wxString wxGetSingleChoice(const wxString& message,
 
 // Same as above but gets position in list of strings, instead of string,
 // or -1 if no selection
-WXDLLEXPORT int wxGetSingleChoiceIndex(const wxString& message,
+WXDLLIMPEXP_CORE int wxGetSingleChoiceIndex(const wxString& message,
                                        const wxString& caption,
                                        const wxArrayString& choices,
                                        wxWindow *parent = NULL,
@@ -259,7 +259,7 @@ WXDLLEXPORT int wxGetSingleChoiceIndex(const wxString& message,
                                        int width = wxCHOICE_WIDTH,
                                        int height = wxCHOICE_HEIGHT);
 
-WXDLLEXPORT int wxGetSingleChoiceIndex(const wxString& message,
+WXDLLIMPEXP_CORE int wxGetSingleChoiceIndex(const wxString& message,
                                        const wxString& caption,
                                        int n, const wxString *choices,
                                        wxWindow *parent = NULL,
@@ -270,7 +270,7 @@ WXDLLEXPORT int wxGetSingleChoiceIndex(const wxString& message,
                                        int height = wxCHOICE_HEIGHT);
 
 // Return client data instead or NULL if cancelled
-WXDLLEXPORT void* wxGetSingleChoiceData(const wxString& message,
+WXDLLIMPEXP_CORE void* wxGetSingleChoiceData(const wxString& message,
                                         const wxString& caption,
                                         const wxArrayString& choices,
                                         void **client_data,
@@ -281,7 +281,7 @@ WXDLLEXPORT void* wxGetSingleChoiceData(const wxString& message,
                                         int width = wxCHOICE_WIDTH,
                                         int height = wxCHOICE_HEIGHT);
 
-WXDLLEXPORT void* wxGetSingleChoiceData(const wxString& message,
+WXDLLIMPEXP_CORE void* wxGetSingleChoiceData(const wxString& message,
                                         const wxString& caption,
                                         int n, const wxString *choices,
                                         void **client_data,
@@ -295,7 +295,7 @@ WXDLLEXPORT void* wxGetSingleChoiceData(const wxString& message,
 // fill the array with the indices of the chosen items, it will be empty
 // if no items were selected or Cancel was pressed - return the number of
 // selections
-WXDLLEXPORT size_t wxGetMultipleChoices(wxArrayInt& selections,
+WXDLLIMPEXP_CORE size_t wxGetMultipleChoices(wxArrayInt& selections,
                                         const wxString& message,
                                         const wxString& caption,
                                         int n, const wxString *choices,
@@ -306,7 +306,7 @@ WXDLLEXPORT size_t wxGetMultipleChoices(wxArrayInt& selections,
                                         int width = wxCHOICE_WIDTH,
                                         int height = wxCHOICE_HEIGHT);
 
-WXDLLEXPORT size_t wxGetMultipleChoices(wxArrayInt& selections,
+WXDLLIMPEXP_CORE size_t wxGetMultipleChoices(wxArrayInt& selections,
                                         const wxString& message,
                                         const wxString& caption,
                                         const wxArrayString& choices,
index ca1ebf05b960ccfce8fbdf4517d4689b5afe4fdc..edaf6a19e3ce83e154d9802448e4ee25234d5945 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/object.h"
 
 // Colour
-class WXDLLEXPORT wxColour: public wxColourBase
+class WXDLLIMPEXP_CORE wxColour: public wxColourBase
 {
 public:
     // constructors
index 0d59436e90d4d36605449e3f991d575edb8e1649..4db6b82c931990c33a4a96d7cc6a88c44406c1a3 100644 (file)
@@ -29,7 +29,7 @@
 
 #endif // wxUSE_SLIDER
 
-class WXDLLEXPORT wxGenericColourDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxGenericColourDialog : public wxDialog
 {
 public:
     wxGenericColourDialog();
index fc7bb1088209efbfd58dd4edaf43721c0ba3f997..913511fcbfb8caeeefaad44bc33a964cc698538e 100644 (file)
@@ -33,7 +33,7 @@
 
 extern WXDLLIMPEXP_DATA_CORE(const char) wxComboBoxNameStr[];
 
-class WXDLLEXPORT wxGenericComboCtrl : public wxComboCtrlBase
+class WXDLLIMPEXP_CORE wxGenericComboCtrl : public wxComboCtrlBase
 {
 public:
     // ctors and such
@@ -101,7 +101,7 @@ private:
 // If native wxComboCtrl was not defined, then prepare a simple
 // front-end so that wxRTTI works as expected.
 
-class WXDLLEXPORT wxComboCtrl : public wxGenericComboCtrl
+class WXDLLIMPEXP_CORE wxComboCtrl : public wxGenericComboCtrl
 {
 public:
     wxComboCtrl() : wxGenericComboCtrl() {}
index 3cfbba636a88fbe1c26a6446b2693f505de2ba1b..b8847fa31f932baa6462e71c308c7ab4b1261043 100644 (file)
@@ -27,7 +27,7 @@
 //-----------------------------------------------------------------------------
 
 
-class WXDLLEXPORT wxPostScriptDC : public wxDC
+class WXDLLIMPEXP_CORE wxPostScriptDC : public wxDC
 {
 public:
     wxPostScriptDC();
@@ -39,7 +39,7 @@ private:
     DECLARE_DYNAMIC_CLASS(wxPostScriptDC)
 };
 
-class WXDLLEXPORT wxPostScriptDCImpl : public wxDCImpl
+class WXDLLIMPEXP_CORE wxPostScriptDCImpl : public wxDCImpl
 {
 public:
     wxPostScriptDCImpl( wxPrinterDC *owner );
index 00eef8c991b3c38700ec41f1d81719a59f58a2d8..bd09b3c8a6fb4cd8209071a6458981259698873f 100644 (file)
@@ -58,7 +58,7 @@ enum
 // wxDirItemData
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDirItemData : public wxTreeItemData
+class WXDLLIMPEXP_CORE wxDirItemData : public wxTreeItemData
 {
 public:
     wxDirItemData(const wxString& path, const wxString& name, bool isDir);
@@ -80,7 +80,7 @@ public:
 
 class WXDLLIMPEXP_FWD_CORE wxDirFilterListCtrl;
 
-class WXDLLEXPORT wxGenericDirCtrl: public wxControl
+class WXDLLIMPEXP_CORE wxGenericDirCtrl: public wxControl
 {
 public:
     wxGenericDirCtrl();
@@ -206,7 +206,7 @@ private:
 // wxDirFilterListCtrl
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDirFilterListCtrl: public wxChoice
+class WXDLLIMPEXP_CORE wxDirFilterListCtrl: public wxChoice
 {
 public:
     wxDirFilterListCtrl() { Init(); }
@@ -258,7 +258,7 @@ protected:
 
 #if wxUSE_DIRDLG || wxUSE_FILEDLG
 
-class WXDLLEXPORT wxFileIconsTable
+class WXDLLIMPEXP_CORE wxFileIconsTable
 {
 public:
     wxFileIconsTable();
@@ -288,7 +288,7 @@ protected:
 };
 
 // The global fileicons table
-extern WXDLLEXPORT_DATA(wxFileIconsTable *) wxTheFileIconsTable;
+extern WXDLLIMPEXP_DATA_CORE(wxFileIconsTable *) wxTheFileIconsTable;
 
 #endif // wxUSE_DIRDLG || wxUSE_FILEDLG
 
index 96dd920354a6fe4a5431b1f9b17f2286c0a860c4..79c15b278dde407fc01597c013c4190ad016ec80 100644 (file)
@@ -20,8 +20,8 @@ class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
 class WXDLLIMPEXP_FWD_CORE wxTreeEvent;
 
 // we may be included directly as well as from wx/dirdlg.h (FIXME)
-extern WXDLLEXPORT_DATA(const char) wxDirDialogNameStr[];
-extern WXDLLEXPORT_DATA(const char) wxDirSelectorPromptStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxDirDialogNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxDirSelectorPromptStr[];
 
 #ifndef wxDD_DEFAULT_STYLE
 #ifdef __WXWINCE__
@@ -37,7 +37,7 @@ extern WXDLLEXPORT_DATA(const char) wxDirSelectorPromptStr[];
 // wxGenericDirDialog
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGenericDirDialog : public wxDirDialogBase
+class WXDLLIMPEXP_CORE wxGenericDirDialog : public wxDirDialogBase
 {
 public:
     wxGenericDirDialog() : wxDirDialogBase() { }
index 583cc0a182a0822fa7178d0f06b10e2e4cbbdaa3..7c1c72a239fa6d35a45b47d3852f585a9657fcd2 100644 (file)
@@ -88,7 +88,7 @@
  * wxGenericDragImage
  */
 
-class WXDLLEXPORT wxGenericDragImage: public wxObject
+class WXDLLIMPEXP_CORE wxGenericDragImage: public wxObject
 {
 public:
 
index 1a796709ca73c94e4f2401af098fddd2c1b3a77e..83c3e805ab12568df11514ed1cae0aff1390cc6b 100644 (file)
@@ -20,7 +20,7 @@ class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
 // wxGenericFindReplaceDialog: dialog for searching / replacing text
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGenericFindReplaceDialog : public wxFindReplaceDialogBase
+class WXDLLIMPEXP_CORE wxGenericFindReplaceDialog : public wxFindReplaceDialogBase
 {
 public:
     wxGenericFindReplaceDialog() { Init(); }
index c2696f35ec7a2f7ebb58d14f5994fa89286e250d..c1af5c263148fd632146eedf69c0e9f4b9524460 100644 (file)
@@ -24,13 +24,13 @@ class WXDLLIMPEXP_FWD_CORE wxChoice;
 class WXDLLIMPEXP_FWD_CORE wxStaticText;
 class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
 
-extern WXDLLEXPORT_DATA(const char) wxFileSelectorDefaultWildcardStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxFileSelectorDefaultWildcardStr[];
 
 //-----------------------------------------------------------------------------
 //  wxFileData - a class to hold the file info for the wxFileListCtrl
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileData
+class WXDLLIMPEXP_CORE wxFileData
 {
 public:
     enum fileType
@@ -125,7 +125,7 @@ private:
 //  wxFileListCtrl
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileListCtrl : public wxListCtrl
+class WXDLLIMPEXP_CORE wxFileListCtrl : public wxListCtrl
 {
 public:
     wxFileListCtrl();
index 45f37b666d684625d178d964b9ba37b55ed1123e..e27901cee50b51d05a8383c7249b62258b022e3b 100644 (file)
@@ -32,7 +32,7 @@ class WXDLLIMPEXP_FWD_CORE wxFileCtrlEvent;
 // wxGenericFileDialog
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGenericFileDialog: public wxFileDialogBase
+class WXDLLIMPEXP_CORE wxGenericFileDialog: public wxFileDialogBase
 {
 public:
     wxGenericFileDialog() : wxFileDialogBase() { Init(); }
@@ -128,7 +128,7 @@ private:
 
 #ifdef wxHAS_GENERIC_FILEDIALOG
 
-class WXDLLEXPORT wxFileDialog: public wxGenericFileDialog
+class WXDLLIMPEXP_CORE wxFileDialog: public wxGenericFileDialog
 {
 public:
      wxFileDialog() {}
index ee1e83910b46fe7ca0e253741d7f0a96be90f6a7..6206ba0ebb53cc4b185b2550bbbc640b2015058c 100644 (file)
@@ -17,8 +17,8 @@
 #include "wx/dirdlg.h"
 
 
-extern WXDLLEXPORT_DATA(const wxEventType) wxEVT_COMMAND_DIRPICKER_CHANGED;
-extern WXDLLEXPORT_DATA(const wxEventType) wxEVT_COMMAND_FILEPICKER_CHANGED;
+extern WXDLLIMPEXP_DATA_CORE(const wxEventType) wxEVT_COMMAND_DIRPICKER_CHANGED;
+extern WXDLLIMPEXP_DATA_CORE(const wxEventType) wxEVT_COMMAND_FILEPICKER_CHANGED;
 
 
 //-----------------------------------------------------------------------------
index 9668f77676be300706fde99dc07da36d05df0a58..892d840008330d5414cf63c1cda2b8de1ab6fb79 100644 (file)
@@ -44,7 +44,7 @@ enum
     wxID_FONT_SIZE
 };
 
-class WXDLLEXPORT wxGenericFontDialog : public wxFontDialogBase
+class WXDLLIMPEXP_CORE wxGenericFontDialog : public wxFontDialogBase
 {
 public:
     wxGenericFontDialog() { Init(); }
index 418aa964384367e439314eae6e09f191085787da..4d42a170d151a15db1460a6c7a432f3342021338 100644 (file)
@@ -20,7 +20,7 @@ class WXDLLIMPEXP_FWD_CORE wxBitmap;
 class WXDLLIMPEXP_FWD_CORE wxColour;
 
 
-class WXDLLEXPORT wxGenericImageList: public wxObject
+class WXDLLIMPEXP_CORE wxGenericImageList: public wxObject
 {
 public:
     wxGenericImageList() { m_width = m_height = 0; }
@@ -64,7 +64,7 @@ private:
  * the run-time information.
  */
 
-class WXDLLEXPORT wxImageList: public wxGenericImageList
+class WXDLLIMPEXP_CORE wxImageList: public wxGenericImageList
 {
     DECLARE_DYNAMIC_CLASS(wxImageList)
 
index b3dcb0260b129f7c7aa06d0b81d99a973abbd1f2..7d4b995b15761b74260f1991da2a98a7b17b8621 100644 (file)
@@ -35,7 +35,7 @@ class WXDLLIMPEXP_FWD_CORE wxListMainWindow;
 // wxListCtrl
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGenericListCtrl: public wxControl
+class WXDLLIMPEXP_CORE wxGenericListCtrl: public wxControl
 {
 public:
 
@@ -253,7 +253,7 @@ private:
  * the run-time information.
  */
 
-class WXDLLEXPORT wxListCtrl: public wxGenericListCtrl
+class WXDLLIMPEXP_CORE wxListCtrl: public wxGenericListCtrl
 {
     DECLARE_DYNAMIC_CLASS(wxListCtrl)
 
index ae66dd0adafaff5b2059d5a5a9cd2df77bd87b4d..02273173231aba0ec4b1a135e608dde33a9a9d51 100644 (file)
@@ -23,7 +23,7 @@
 #if wxUSE_TEXTCTRL
 
 // log everything to a text window (GUI only of course)
-class WXDLLEXPORT wxLogTextCtrl : public wxLog
+class WXDLLIMPEXP_CORE wxLogTextCtrl : public wxLog
 {
 public:
     wxLogTextCtrl(wxTextCtrl *pTextCtrl);
@@ -49,7 +49,7 @@ private:
 
 #if wxUSE_LOGGUI
 
-class WXDLLEXPORT wxLogGui : public wxLog
+class WXDLLIMPEXP_CORE wxLogGui : public wxLog
 {
 public:
     // ctor
@@ -86,7 +86,7 @@ protected:
 
 #if wxUSE_LOGWINDOW
 
-class WXDLLEXPORT wxLogWindow : public wxLogPassThrough
+class WXDLLIMPEXP_CORE wxLogWindow : public wxLogPassThrough
 {
 public:
     wxLogWindow(wxWindow *pParent,        // the parent frame (can be NULL)
index b6c7b954fc345b3f1d903ff4f1e66a3232e83534..6516e5ab284df275df762eac713d8869a25dd815 100644 (file)
@@ -15,7 +15,7 @@
 // generic wxMask implementation
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMask : public wxMaskBase
+class WXDLLIMPEXP_CORE wxMask : public wxMaskBase
 {
 public:
     wxMask() { }
index f4366808cc60d27f890892f2e926fa7df47c9a12..bc4bb52f2dae61fa2fd8ad8c6272bf9444e35eba 100644 (file)
@@ -23,7 +23,7 @@
 class WXDLLIMPEXP_FWD_CORE wxIcon;
 class WXDLLIMPEXP_FWD_CORE wxIconBundle;
 
-extern WXDLLEXPORT_DATA(const char) wxStatusLineNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxStatusLineNameStr[];
 
 
 //-----------------------------------------------------------------------------
@@ -38,7 +38,7 @@ class WXDLLIMPEXP_FWD_CORE wxGenericMDIChildFrame;
 // wxGenericMDIParentFrame
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGenericMDIParentFrame: public wxFrame
+class WXDLLIMPEXP_CORE wxGenericMDIParentFrame: public wxFrame
 {
 public:
     wxGenericMDIParentFrame();
@@ -111,7 +111,7 @@ private:
 // wxGenericMDIChildFrame
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGenericMDIChildFrame: public wxPanel
+class WXDLLIMPEXP_CORE wxGenericMDIChildFrame: public wxPanel
 {
 public:
     wxGenericMDIChildFrame();
@@ -224,7 +224,7 @@ private:
 // wxGenericMDIClientWindow
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGenericMDIClientWindow: public wxNotebook
+class WXDLLIMPEXP_CORE wxGenericMDIClientWindow: public wxNotebook
 {
 public:
     wxGenericMDIClientWindow();
@@ -266,7 +266,7 @@ class wxMDIChildFrame ;
 // wxMDIParentFrame
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMDIParentFrame: public wxGenericMDIParentFrame
+class WXDLLIMPEXP_CORE wxMDIParentFrame: public wxGenericMDIParentFrame
 {
 public:
     wxMDIParentFrame() {}
@@ -292,7 +292,7 @@ private:
 // wxMDIChildFrame
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMDIChildFrame: public wxGenericMDIChildFrame
+class WXDLLIMPEXP_CORE wxMDIChildFrame: public wxGenericMDIChildFrame
 {
 public:
     wxMDIChildFrame() {}
@@ -315,7 +315,7 @@ private:
 // wxMDIClientWindow
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMDIClientWindow: public wxGenericMDIClientWindow
+class WXDLLIMPEXP_CORE wxMDIClientWindow: public wxGenericMDIClientWindow
 {
 public:
     wxMDIClientWindow() {}
index 9e3bbcff9db18c5f1a4896f0edf4d186ec4095eb..be63dcd910dff5acec9424c66152d76a961d4508 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_GENERIC_MSGDLGG_H_
 #define _WX_GENERIC_MSGDLGG_H_
 
-class WXDLLEXPORT wxGenericMessageDialog : public wxMessageDialogBase
+class WXDLLIMPEXP_CORE wxGenericMessageDialog : public wxMessageDialogBase
 {
 public:
     wxGenericMessageDialog(wxWindow *parent,
index 11d9cfb07283eaf7245205f6f67e87806196a712..1ac15c680fdc6f4c822df4b730569a396916b624 100644 (file)
@@ -28,7 +28,7 @@
 // wxNumberEntryDialog: a dialog with spin control, [ok] and [cancel] buttons
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxNumberEntryDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxNumberEntryDialog : public wxDialog
 {
 public:
     wxNumberEntryDialog(wxWindow *parent,
@@ -64,15 +64,15 @@ private:
 // function to get a number from user
 // ----------------------------------------------------------------------------
 
-long WXDLLEXPORT
-wxGetNumberFromUser(const wxString& message,
-                    const wxString& prompt,
-                    const wxString& caption,
-                    long value = 0,
-                    long min = 0,
-                    long max = 100,
-                    wxWindow *parent = (wxWindow *)NULL,
-                    const wxPoint& pos = wxDefaultPosition);
+WXDLLIMPEXP_CORE long
+    wxGetNumberFromUser(const wxString& message,
+                        const wxString& prompt,
+                        const wxString& caption,
+                        long value = 0,
+                        long min = 0,
+                        long max = 100,
+                        wxWindow *parent = (wxWindow *)NULL,
+                        const wxPoint& pos = wxDefaultPosition);
 
 #endif // wxUSE_NUMBERDLG
 
index b5d55538143d3b806bfdcfac9bb8df91299c03f9..8d5475a46dc883f296b1b2cbcb7ea4c1a3071c42 100644 (file)
 
 class WXDLLIMPEXP_FWD_CORE wxControlContainer;
 
-extern WXDLLEXPORT_DATA(const char) wxPanelNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxPanelNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxPanel contains other controls and implements TAB traversal between them
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPanel : public wxWindow
+class WXDLLIMPEXP_CORE wxPanel : public wxWindow
 {
 public:
     wxPanel() { Init(); }
index ba97deea537b3c1e039263a9c7e1b24760801dc1..e2ae6ece3bf135c0c78aca44b83e6d3e0e7c8b22 100644 (file)
@@ -21,7 +21,7 @@
 // Represents the printer: manages printing a wxPrintout object
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPostScriptPrinter : public wxPrinterBase
+class WXDLLIMPEXP_CORE wxPostScriptPrinter : public wxPrinterBase
 {
 public:
     wxPostScriptPrinter(wxPrintDialogData *data = (wxPrintDialogData *) NULL);
@@ -40,7 +40,7 @@ private:
 // wxPrintout.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPostScriptPrintPreview : public wxPrintPreviewBase
+class WXDLLIMPEXP_CORE wxPostScriptPrintPreview : public wxPrintPreviewBase
 {
 public:
     wxPostScriptPrintPreview(wxPrintout *printout,
index 79e3c9d0994a964e0407be0aed52f6d60f555c59..6880629ce45d868742d9298b0c396d306d8f9831 100644 (file)
@@ -78,7 +78,7 @@ enum
 // wxPostScriptNativeData
 //----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPostScriptPrintNativeData: public wxPrintNativeDataBase
+class WXDLLIMPEXP_CORE wxPostScriptPrintNativeData: public wxPrintNativeDataBase
 {
 public:
     wxPostScriptPrintNativeData();
@@ -137,7 +137,7 @@ private:
 // Windows using PostScript print/preview)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGenericPrintDialog : public wxPrintDialogBase
+class WXDLLIMPEXP_CORE wxGenericPrintDialog : public wxPrintDialogBase
 {
 public:
     wxGenericPrintDialog(wxWindow *parent,
@@ -182,7 +182,7 @@ private:
     DECLARE_DYNAMIC_CLASS(wxGenericPrintDialog)
 };
 
-class WXDLLEXPORT wxGenericPrintSetupDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxGenericPrintSetupDialog : public wxDialog
 {
 public:
     // There are no configuration options for the dialog, so we
@@ -220,7 +220,7 @@ private:
 #endif
     // wxUSE_POSTSCRIPT
 
-class WXDLLEXPORT wxGenericPageSetupDialog : public wxPageSetupDialogBase
+class WXDLLIMPEXP_CORE wxGenericPageSetupDialog : public wxPageSetupDialogBase
 {
 public:
     wxGenericPageSetupDialog(wxWindow *parent = NULL,
index 5b9cee440a6ed03a77b4680a837e1a94fe0dcef2..32383adb594d12d663702aece8e65b48ac4b164f 100644 (file)
@@ -26,7 +26,7 @@ class WXDLLIMPEXP_FWD_CORE wxStaticText;
 /* Progress dialog which shows a moving progress bar.
     Taken from the Mahogany project.*/
 
-class WXDLLEXPORT wxProgressDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxProgressDialog : public wxDialog
 {
 DECLARE_DYNAMIC_CLASS(wxProgressDialog)
 public:
index 7a6dc2473f8bcc2bd036ba6021721027bee7a288..0dc9494316f8be2754e1da3470cc3c6e78d8e5c1 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_GENERIC_REGION_H__
 #define _WX_GENERIC_REGION_H__
 
-class WXDLLEXPORT wxRegionGeneric : public wxRegionBase
+class WXDLLIMPEXP_CORE wxRegionGeneric : public wxRegionBase
 {
 public:
     wxRegionGeneric(wxCoord x, wxCoord y, wxCoord w, wxCoord h);
@@ -45,7 +45,7 @@ protected:
     friend class WXDLLIMPEXP_FWD_CORE wxRegionIteratorGeneric;
 };
 
-class WXDLLEXPORT wxRegionIteratorGeneric : public wxObject
+class WXDLLIMPEXP_CORE wxRegionIteratorGeneric : public wxObject
 {
 public:
     wxRegionIteratorGeneric();
index c5078faa756c9e090b2f488847d05d9de75d7ff1..89a0501f0d53ae3bcca79328412f67c56dc84a6c 100644 (file)
@@ -40,7 +40,7 @@ class wxSpinCtrlTextGeneric; // wxTextCtrl used for the wxSpinCtrlGenericBase
 // function ambiguity.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSpinCtrlGenericBase : public wxSpinCtrlBase
+class WXDLLIMPEXP_CORE wxSpinCtrlGenericBase : public wxSpinCtrlBase
 {
 public:
     wxSpinCtrlGenericBase() { Init(); }
@@ -140,7 +140,7 @@ private:
 
 #include "wx/textctrl.h"
 
-class WXDLLEXPORT wxSpinCtrlGenericBase : public wxTextCtrl
+class WXDLLIMPEXP_CORE wxSpinCtrlGenericBase : public wxTextCtrl
 {
 public:
     wxSpinCtrlGenericBase() : m_value(0), m_min(0), m_max(100),
index 0e7c694f7c2e805f6d1c007e52e80a9d8a02e599..498471fa9940fb4b69cb580836d0bf2f3bf2fa3d 100644 (file)
@@ -49,7 +49,7 @@ enum
 //    to prevent flickering. (WS_CLIPCHILDREN doesn't work in all cases so can't be
 //    standard).
 
-class WXDLLEXPORT wxSplitterWindow: public wxWindow
+class WXDLLIMPEXP_CORE wxSplitterWindow: public wxWindow
 {
 public:
 
@@ -312,7 +312,7 @@ private:
 // usual wxWin convention, but the three event types have different kind of
 // data associated with them, so the accessors can be only used if the real
 // event type matches with the one for which the accessors make sense
-class WXDLLEXPORT wxSplitterEvent : public wxNotifyEvent
+class WXDLLIMPEXP_CORE wxSplitterEvent : public wxNotifyEvent
 {
 public:
     wxSplitterEvent(wxEventType type = wxEVT_NULL,
index a520b52071ffbdfa292f0a037b29653d88563651..407783f957169e767d636b019d36f29c63cf7af3 100644 (file)
@@ -22,7 +22,7 @@ class WXDLLIMPEXP_FWD_CORE wxSearchTextCtrl;
 // wxSearchCtrl is a combination of wxTextCtrl and wxSearchButton
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSearchCtrl : public wxSearchCtrlBase
+class WXDLLIMPEXP_CORE wxSearchCtrl : public wxSearchCtrlBase
 {
 public:
     // creation
index ae1ce7aa0083fbdfc1c2ec8f96ed83e43b08ca16..bc1aa294294d2edca2ecc8065938d53b3cb2bb62 100644 (file)
@@ -17,7 +17,7 @@ class wxStaticBox;
 // wxStaticLine
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStaticLine : public wxStaticLineBase
+class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase
 {
     DECLARE_DYNAMIC_CLASS(wxStaticLine)
 
index d2b134391815a9f370f1ed2ecb8b92252a32a637..2f58f2b93e11a394b251589832a42cde88c5509e 100644 (file)
@@ -19,7 +19,7 @@
 #include "wx/pen.h"
 #include "wx/arrstr.h"
 
-class WXDLLEXPORT wxStatusBarGeneric : public wxStatusBarBase
+class WXDLLIMPEXP_CORE wxStatusBarGeneric : public wxStatusBarBase
 {
 public:
     wxStatusBarGeneric() { Init(); }
index 4ab53af0e791e0e37a954fc6eba67e051d57cb5f..2666ffd6014c558c773d7f7f038aaf7bcf53ed94 100644 (file)
@@ -27,7 +27,7 @@ class WXDLLIMPEXP_FWD_CORE wxTabView;
  * of the tab.
  */
 
-class WXDLLEXPORT wxTabControl: public wxObject
+class WXDLLIMPEXP_CORE wxTabControl: public wxObject
 {
 DECLARE_DYNAMIC_CLASS(wxTabControl)
 public:
@@ -81,7 +81,7 @@ protected:
  * are 3 layers in the MS Word Options dialog.
  */
 
-class WXDLLEXPORT wxTabLayer: public wxList
+class WXDLLIMPEXP_CORE wxTabLayer: public wxList
 {
 };
 
@@ -94,7 +94,7 @@ WX_DECLARE_LIST(wxTabLayer, wxTabLayerList);
 #define wxTAB_STYLE_DRAW_BOX         1   // Draws 3D boxes round tab layers
 #define wxTAB_STYLE_COLOUR_INTERIOR  2   // Colours interior of tabs, otherwise draws outline
 
-class WXDLLEXPORT wxTabView: public wxObject
+class WXDLLIMPEXP_CORE wxTabView: public wxObject
 {
 DECLARE_DYNAMIC_CLASS(wxTabView)
 public:
@@ -266,7 +266,7 @@ protected:
  * A dialog box class that is tab-friendly
  */
 
-class WXDLLEXPORT wxTabbedDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxTabbedDialog : public wxDialog
 {
     DECLARE_DYNAMIC_CLASS(wxTabbedDialog)
 
@@ -298,7 +298,7 @@ private:
  * A panel class that is tab-friendly
  */
 
-class WXDLLEXPORT wxTabbedPanel : public wxPanel
+class WXDLLIMPEXP_CORE wxTabbedPanel : public wxPanel
 {
     DECLARE_DYNAMIC_CLASS(wxTabbedPanel)
 
@@ -327,7 +327,7 @@ private:
 WX_DECLARE_HASH_MAP(int, wxWindow*, wxIntegerHash, wxIntegerEqual,
                     wxIntToWindowHashMap);
 
-class WXDLLEXPORT wxPanelTabView : public wxTabView
+class WXDLLIMPEXP_CORE wxPanelTabView : public wxTabView
 {
     DECLARE_DYNAMIC_CLASS(wxPanelTabView)
 
index 55e290eaaed0cfeafdb59a8b5733c591f8343f72..5fd6056ddaaf2651c568c1e458797d90ce924cab 100644 (file)
@@ -25,8 +25,8 @@
 
 class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
 
-extern WXDLLEXPORT_DATA(const char) wxGetTextFromUserPromptStr[];
-extern WXDLLEXPORT_DATA(const char) wxGetPasswordFromUserPromptStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxGetTextFromUserPromptStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxGetPasswordFromUserPromptStr[];
 
 #define wxTextEntryDialogStyle (wxOK | wxCANCEL | wxCENTRE | wxWS_EX_VALIDATE_RECURSIVELY)
 
@@ -34,7 +34,7 @@ extern WXDLLEXPORT_DATA(const char) wxGetPasswordFromUserPromptStr[];
 // wxTextEntryDialog: a dialog with text control, [ok] and [cancel] buttons
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTextEntryDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxTextEntryDialog : public wxDialog
 {
 public:
     wxTextEntryDialog(wxWindow *parent,
@@ -72,7 +72,7 @@ private:
 // wxPasswordEntryDialog: dialog with password control, [ok] and [cancel]
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPasswordEntryDialog : public wxTextEntryDialog
+class WXDLLIMPEXP_CORE wxPasswordEntryDialog : public wxTextEntryDialog
 {
 public:
     wxPasswordEntryDialog(wxWindow *parent,
@@ -90,23 +90,23 @@ private:
 // function to get a string from user
 // ----------------------------------------------------------------------------
 
-wxString WXDLLEXPORT
-wxGetTextFromUser(const wxString& message,
-                  const wxString& caption = wxGetTextFromUserPromptStr,
-                  const wxString& default_value = wxEmptyString,
-                  wxWindow *parent = (wxWindow *) NULL,
-                  wxCoord x = wxDefaultCoord,
-                  wxCoord y = wxDefaultCoord,
-                  bool centre = true);
-
-wxString WXDLLEXPORT
-wxGetPasswordFromUser(const wxString& message,
-                      const wxString& caption = wxGetPasswordFromUserPromptStr,
-                      const wxString& default_value = wxEmptyString,
-                      wxWindow *parent = (wxWindow *) NULL,
-                      wxCoord x = wxDefaultCoord,
-                      wxCoord y = wxDefaultCoord,
-                      bool centre = true);
+WXDLLIMPEXP_CORE wxString
+    wxGetTextFromUser(const wxString& message,
+                    const wxString& caption = wxGetTextFromUserPromptStr,
+                    const wxString& default_value = wxEmptyString,
+                    wxWindow *parent = (wxWindow *) NULL,
+                    wxCoord x = wxDefaultCoord,
+                    wxCoord y = wxDefaultCoord,
+                    bool centre = true);
+
+WXDLLIMPEXP_CORE wxString
+    wxGetPasswordFromUser(const wxString& message,
+                        const wxString& caption = wxGetPasswordFromUserPromptStr,
+                        const wxString& default_value = wxEmptyString,
+                        wxWindow *parent = (wxWindow *) NULL,
+                        wxCoord x = wxDefaultCoord,
+                        wxCoord y = wxDefaultCoord,
+                        bool centre = true);
 
 #endif
     // wxUSE_TEXTDLG
index c21b331fe6e241ff9443cfe60b70a4db27c1a70c..b039951de3e916267a6d70a283c86f649b4ffccc 100644 (file)
@@ -34,7 +34,7 @@ class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
 // wxGenericTreeCtrl - the tree control
 // -----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGenericTreeCtrl : public wxTreeCtrlBase,
+class WXDLLIMPEXP_CORE wxGenericTreeCtrl : public wxTreeCtrlBase,
                                       public wxScrollHelper
 {
 public:
@@ -350,7 +350,7 @@ private:
  * the run-time information.
  */
 
-class WXDLLEXPORT wxTreeCtrl: public wxGenericTreeCtrl
+class WXDLLIMPEXP_CORE wxTreeCtrl: public wxGenericTreeCtrl
 {
     DECLARE_DYNAMIC_CLASS(wxTreeCtrl)
 
index 237f84dca5a198e1f6ab39aafa50787b20862b5c..80ab7d9bd20b7affdb6df255136e0e12c2cea098 100644 (file)
@@ -34,7 +34,7 @@ enum wxOutCode
     wxOutBottom = 0x04
 };
 
-class WXDLLEXPORT wxPoint2DInt
+class WXDLLIMPEXP_CORE wxPoint2DInt
 {
 public :
     inline wxPoint2DInt();
@@ -278,7 +278,7 @@ inline wxPoint2DInt operator/(const wxPoint2DInt& pt , wxDouble n)
 
 // wxPoint2Ds represent a point or a vector in a 2d coordinate system
 
-class WXDLLEXPORT wxPoint2DDouble
+class WXDLLIMPEXP_CORE wxPoint2DDouble
 {
 public :
     inline wxPoint2DDouble();
@@ -509,7 +509,7 @@ inline wxPoint2DDouble operator/(const wxPoint2DDouble& pt , wxInt32 n)
 // top left and bottom right corner, or by the top left corner and size. A point is contained within the rectangle if
 // left <= x < right  and top <= m_y < bottom , thus it is a half open interval.
 
-class WXDLLEXPORT wxRect2DDouble
+class WXDLLIMPEXP_CORE wxRect2DDouble
 {
 public:
     wxRect2DDouble()
@@ -640,7 +640,7 @@ public:
 // top left and bottom right corner, or by the top left corner and size. A point is contained within the rectangle if
 // left <= x < right  and top <= m_y < bottom , thus it is a half open interval.
 
-class WXDLLEXPORT wxRect2DInt
+class WXDLLIMPEXP_CORE wxRect2DInt
 {
 public:
        wxRect2DInt() { m_x = m_y = m_width = m_height = 0; }
index fcdf76d5fcdbea17179adaf59b317161c3538f0e..86abb16cd601c2d47918889e52af34cb915d4481 100644 (file)
@@ -46,7 +46,7 @@ enum wxGIFErrorCode
 // wxGIFDecoder class
 // --------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGIFDecoder : public wxAnimationDecoder
+class WXDLLIMPEXP_CORE wxGIFDecoder : public wxAnimationDecoder
 {
 public:
     // constructor, destructor, etc.
index 9dfea11e2757e52164f705850e39eddd469046fa..f26ae667f1cb7238e0f33babdf4fac0ad85f5c5d 100644 (file)
@@ -80,7 +80,7 @@ private :
     DECLARE_DYNAMIC_CLASS(wxGraphicsPen)
 } ;
 
-extern WXDLLEXPORT_DATA(wxGraphicsPen) wxNullGraphicsPen;
+extern WXDLLIMPEXP_DATA_CORE(wxGraphicsPen) wxNullGraphicsPen;
 
 class WXDLLIMPEXP_CORE wxGraphicsBrush : public wxGraphicsObject
 {
@@ -91,7 +91,7 @@ private :
     DECLARE_DYNAMIC_CLASS(wxGraphicsBrush)
 } ;
 
-extern WXDLLEXPORT_DATA(wxGraphicsBrush) wxNullGraphicsBrush;
+extern WXDLLIMPEXP_DATA_CORE(wxGraphicsBrush) wxNullGraphicsBrush;
 
 class WXDLLIMPEXP_CORE wxGraphicsFont : public wxGraphicsObject
 {
@@ -102,7 +102,7 @@ private :
     DECLARE_DYNAMIC_CLASS(wxGraphicsFont)
 } ;
 
-extern WXDLLEXPORT_DATA(wxGraphicsFont) wxNullGraphicsFont;
+extern WXDLLIMPEXP_DATA_CORE(wxGraphicsFont) wxNullGraphicsFont;
 
 class WXDLLIMPEXP_CORE wxGraphicsBitmap : public wxGraphicsObject
 {
@@ -113,7 +113,7 @@ private :
     DECLARE_DYNAMIC_CLASS(wxGraphicsBitmap)
 } ;
  
-extern WXDLLEXPORT_DATA(wxGraphicsBitmap) wxNullGraphicsBitmap;
+extern WXDLLIMPEXP_DATA_CORE(wxGraphicsBitmap) wxNullGraphicsBitmap;
 
 class WXDLLIMPEXP_CORE wxGraphicsMatrix : public wxGraphicsObject
 {
@@ -179,7 +179,7 @@ private :
     DECLARE_DYNAMIC_CLASS(wxGraphicsMatrix)
 } ;
 
-extern WXDLLEXPORT_DATA(wxGraphicsMatrix) wxNullGraphicsMatrix;
+extern WXDLLIMPEXP_DATA_CORE(wxGraphicsMatrix) wxNullGraphicsMatrix;
 
 class WXDLLIMPEXP_CORE wxGraphicsPath : public wxGraphicsObject
 {
@@ -265,7 +265,7 @@ private :
     DECLARE_DYNAMIC_CLASS(wxGraphicsPath)
 } ;
 
-extern WXDLLEXPORT_DATA(wxGraphicsPath) wxNullGraphicsPath;
+extern WXDLLIMPEXP_DATA_CORE(wxGraphicsPath) wxNullGraphicsPath;
 
 
 class WXDLLIMPEXP_CORE wxGraphicsContext : public wxGraphicsObject
index 121477410fece60a16e957dec24f297729b51f45..03998084fd7cbe30b33534de5a1cc7f42e5f0afb 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/dialog.h"
 #include "wx/cmndata.h"
 
-class WXDLLEXPORT wxColourDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxColourDialog : public wxDialog
 {
 public:
     wxColourDialog() {}
index 9192a5987b0bef0c465e1b2ac0ff3a544a9a4a72..d5a462ef81d09575dde829bea4f33d51ec891acb 100644 (file)
@@ -16,7 +16,7 @@
 #include "wx/control.h"
 #include "wx/filectrl.h"
 
-extern WXDLLEXPORT_DATA(const char) wxFileSelectorDefaultWildcardStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxFileSelectorDefaultWildcardStr[];
 
 typedef struct _GtkFileChooser GtkFileChooser;
 
index 98c48c80a8732e0b892def828ea45e38155b7a5c..97998869d04869c9560a174807d1061db69c15c5 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_GTK_MSGDLG_H_
 #define _WX_GTK_MSGDLG_H_
 
-class WXDLLEXPORT wxMessageDialog : public wxMessageDialogBase
+class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogBase
 {
 public:
     wxMessageDialog(wxWindow *parent, const wxString& message,
index 909b6160974bab6cab95266aca92799406dac558..f99fb60c6203821d41c8b2689a59e6782e43a365 100644 (file)
@@ -16,7 +16,7 @@
 // wxScrolledWindow
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxScrollHelperNative : public wxScrollHelper
+class WXDLLIMPEXP_CORE wxScrollHelperNative : public wxScrollHelper
 {
 public:
     // default ctor doesn't do anything
index c45ecf4eed566ca005239bf15c9706cdcf453174..4499b734104491e64809f2e2675c49970330c41d 100644 (file)
@@ -76,7 +76,7 @@ static const int wxTREE_HITTEST_ONITEM  = wxTREE_HITTEST_ONITEMICON |
 // just a trivial wrapper around GTK GtkTreeItem *. It's opaque for the
 // application.
 // ----------------------------------------------------------------------------
-class WXDLLEXPORT wxTreeItemId {
+class WXDLLIMPEXP_CORE wxTreeItemId {
 public:
   // ctors
   wxTreeItemId() { m_itemId = NULL; }
@@ -113,7 +113,7 @@ protected:
 // Because the objects of this class are deleted by the tree, they should
 // always be allocated on the heap!
 // ----------------------------------------------------------------------------
-class WXDLLEXPORT wxTreeItemData : private wxTreeItemId {
+class WXDLLIMPEXP_CORE wxTreeItemData : private wxTreeItemId {
 public:
     // default ctor/copy ctor/assignment operator are ok
 
@@ -127,7 +127,7 @@ public:
     const wxTreeItemId& GetId() const { return (wxTreeItemId&) m_itemId; }
 };
 
-class WXDLLEXPORT wxTreeCtrl: public wxControl
+class WXDLLIMPEXP_CORE wxTreeCtrl: public wxControl
 {
 public:
     // creation
index 467ecd91d302e42f327d70a9ac659bf1d3b85695..5da29e6af3468d7855a20ad3182d6ed3c80db798 100644 (file)
@@ -18,7 +18,7 @@
 #include "wx/cmndata.h"
 
 
-class WXDLLEXPORT wxColourDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxColourDialog : public wxDialog
 {
 public:
     wxColourDialog() {}
index 56c7709c884a06b0df8632d36bb20a9d47f034bd..d064f57a334005c34c1907c6cdf40fc11c44893b 100644 (file)
@@ -27,7 +27,7 @@ class WXDLLIMPEXP_FWD_CORE wxComboBox;
 // global data
 //-----------------------------------------------------------------------------
 
-extern WXDLLEXPORT_DATA(const char) wxComboBoxNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxComboBoxNameStr[];
 extern WXDLLIMPEXP_BASE const wxChar* wxEmptyString;
 
 //-----------------------------------------------------------------------------
index 94ff72e894dcf95a1bf493c7b63d4a49056b64e8..09f00d605cfb0735fba31f4b269ef970942ea827 100644 (file)
@@ -30,7 +30,7 @@ class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
 // global data
 //-----------------------------------------------------------------------------
 
-extern WXDLLEXPORT_DATA(const char) wxStatusLineNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxStatusLineNameStr[];
 
 //-----------------------------------------------------------------------------
 // wxMDIParentFrame
index 2e2879af5e690ae692a26114bf8e149b65744ba7..90a80811b56688ed310d23a49cfd25dfe8a28288 100644 (file)
@@ -18,9 +18,9 @@
 // type is an 'or' (|) of wxOK, wxCANCEL, wxYES_NO
 // Returns wxYES/NO/OK/CANCEL
 
-WXDLLEXPORT_DATA(extern const wxChar) wxMessageBoxCaptionStr[];
+WXDLLIMPEXP_DATA_CORE(extern const wxChar) wxMessageBoxCaptionStr[];
 
-class WXDLLEXPORT wxMessageDialog: public wxDialog, public wxMessageDialogBase
+class WXDLLIMPEXP_CORE wxMessageDialog: public wxDialog, public wxMessageDialogBase
 {
 public:
     wxMessageDialog(wxWindow *parent, const wxString& message,
index 4142805d1afaa18071a479b92d701d95874a141b..c7bd4bb8e2a36489f2039cffeaa1f2bc8f67bd6a 100644 (file)
@@ -16,7 +16,7 @@
 // wxScrolledWindow
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxScrollHelperNative : public wxScrollHelper
+class WXDLLIMPEXP_CORE wxScrollHelperNative : public wxScrollHelper
 {
 public:
     // default ctor doesn't do anything
index 09ee499296b00405dfb32cf5ba83d10faf43205d..453f1f735ef4395a0730b39d934ecc43506b7e71 100644 (file)
@@ -76,7 +76,7 @@ static const int wxTREE_HITTEST_ONITEM  = wxTREE_HITTEST_ONITEMICON |
 // just a trivial wrapper around GTK GtkTreeItem *. It's opaque for the
 // application.
 // ----------------------------------------------------------------------------
-class WXDLLEXPORT wxTreeItemId {
+class WXDLLIMPEXP_CORE wxTreeItemId {
 public:
   // ctors
   wxTreeItemId() { m_itemId = NULL; }
@@ -113,7 +113,7 @@ protected:
 // Because the objects of this class are deleted by the tree, they should
 // always be allocated on the heap!
 // ----------------------------------------------------------------------------
-class WXDLLEXPORT wxTreeItemData : private wxTreeItemId {
+class WXDLLIMPEXP_CORE wxTreeItemData : private wxTreeItemId {
 public:
     // default ctor/copy ctor/assignment operator are ok
 
@@ -127,7 +127,7 @@ public:
     const wxTreeItemId& GetId() const { return (wxTreeItemId&) m_itemId; }
 };
 
-class WXDLLEXPORT wxTreeCtrl: public wxControl {
+class WXDLLIMPEXP_CORE wxTreeCtrl: public wxControl {
 public:
   // creation
   // --------
index e825e0c2d1acdf724f9a9acf966206c0bc6c2a82..3eb539e9d38b47fbf1955fe08e17008265895cc9 100644 (file)
@@ -287,7 +287,7 @@ private:
 // and this one does exactly the same thing but should be used inside the
 // library
 #define WX_DECLARE_EXPORTED_HASH(el, list, hash)  \
-    _WX_DECLARE_HASH(el, list, hash, class WXDLLEXPORT)
+    _WX_DECLARE_HASH(el, list, hash, class WXDLLIMPEXP_CORE)
 
 #define WX_DECLARE_USER_EXPORTED_HASH(el, list, hash, usergoo)  \
     _WX_DECLARE_HASH(el, list, hash, class usergoo)
index 3bf91c8a2ffa65161b4b654fd2c91ea16d9893b4..34931c5298791d954b87899c8a91e262da6cff15 100644 (file)
@@ -685,7 +685,7 @@ public: \
 
 #define WX_DECLARE_EXPORTED_HASH_MAP( KEY_T, VALUE_T, HASH_T, KEY_EQ_T, CLASSNAME) \
     WX_DECLARE_HASH_MAP_WITH_DECL( KEY_T, VALUE_T, HASH_T, KEY_EQ_T, \
-                                   CLASSNAME, class WXDLLEXPORT )
+                                   CLASSNAME, class WXDLLIMPEXP_CORE )
 
 #define WX_DECLARE_STRING_HASH_MAP_WITH_DECL( VALUE_T, CLASSNAME, DECL ) \
     _WX_DECLARE_HASH_MAP( wxString, VALUE_T, wxStringHash, wxStringEqual, \
@@ -693,7 +693,7 @@ public: \
 
 #define WX_DECLARE_EXPORTED_STRING_HASH_MAP( VALUE_T, CLASSNAME ) \
     WX_DECLARE_STRING_HASH_MAP_WITH_DECL( VALUE_T, CLASSNAME, \
-                                          class WXDLLEXPORT )
+                                          class WXDLLIMPEXP_CORE )
 
 #define WX_DECLARE_VOIDPTR_HASH_MAP_WITH_DECL( VALUE_T, CLASSNAME, DECL ) \
     _WX_DECLARE_HASH_MAP( void*, VALUE_T, wxPointerHash, wxPointerEqual, \
@@ -701,7 +701,7 @@ public: \
 
 #define WX_DECLARE_EXPORTED_VOIDPTR_HASH_MAP( VALUE_T, CLASSNAME ) \
     WX_DECLARE_VOIDPTR_HASH_MAP_WITH_DECL( VALUE_T, CLASSNAME, \
-                                           class WXDLLEXPORT )
+                                           class WXDLLIMPEXP_CORE )
 
 // delete all hash elements
 //
index fb423ee11ef1a83f985120e19a2ccb92963ebb56..1be24e907b4f80c571029599cf1615c92e3a5284 100644 (file)
@@ -98,7 +98,7 @@ public:                                                                      \
 
 #define WX_DECLARE_EXPORTED_HASH_SET( KEY_T, HASH_T, KEY_EQ_T, CLASSNAME) \
     WX_DECLARE_HASH_SET_WITH_DECL( KEY_T, HASH_T, KEY_EQ_T, \
-                                   CLASSNAME, class WXDLLEXPORT )
+                                   CLASSNAME, class WXDLLIMPEXP_CORE )
 
 // delete all hash elements
 //
index 614ccae69dce55f9dddf3e5ee8f095839e3d7c4c..bc913e7f21fcda363a8805f5913911cb473ffc99 100644 (file)
@@ -32,7 +32,7 @@ enum wxHelpSearchMode
 };
 
 // Defines the API for help controllers
-class WXDLLEXPORT wxHelpControllerBase: public wxObject
+class WXDLLIMPEXP_CORE wxHelpControllerBase: public wxObject
 {
 public:
     inline wxHelpControllerBase(wxWindow* parentWindow = NULL) { m_parentWindow = parentWindow; }
index f4f92e7451ecac755c3db0cabed0c238eaeb0c1f..6696e9d2ceffc53694c4b2591cb13fecd292557b 100644 (file)
@@ -45,7 +45,7 @@
 
 #if wxUSE_VARIANT
 #include "wx/variant.h"
-DECLARE_VARIANT_OBJECT_EXPORTED(wxIcon,WXDLLEXPORT)
+DECLARE_VARIANT_OBJECT_EXPORTED(wxIcon,WXDLLIMPEXP_CORE)
 #endif
 
 
index 1892c30a1c289e923b484e858002b17c297dfe81..c52c984d8a63cf4e4386c7a457e31eb94e8a9d06 100644 (file)
@@ -28,7 +28,7 @@ WX_DECLARE_EXPORTED_OBJARRAY(wxIcon, wxIconArray);
 // this class can't load bitmaps of type wxBITMAP_TYPE_ICO_RESOURCE,
 // if you need them, you have to load them manually and call
 // wxIconCollection::AddIcon
-class WXDLLEXPORT wxIconBundle : public wxGDIObject
+class WXDLLIMPEXP_CORE wxIconBundle : public wxGDIObject
 {
 public:
     // default constructor
index 4e20146d70b23ab2da5c2e7d87c4905b5579f69e..1bcebe1d1817fbfaf96536c2cace2e27e901d942 100644 (file)
@@ -40,7 +40,7 @@ enum
 // wxBMPHandler
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBMPHandler : public wxImageHandler
+class WXDLLIMPEXP_CORE wxBMPHandler : public wxImageHandler
 {
 public:
     wxBMPHandler()
@@ -74,7 +74,7 @@ private:
 // wxICOHandler
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxICOHandler : public wxBMPHandler
+class WXDLLIMPEXP_CORE wxICOHandler : public wxBMPHandler
 {
 public:
     wxICOHandler()
@@ -103,7 +103,7 @@ private:
 // wxCURHandler
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxCURHandler : public wxICOHandler
+class WXDLLIMPEXP_CORE wxCURHandler : public wxICOHandler
 {
 public:
     wxCURHandler()
@@ -130,7 +130,7 @@ private:
 // wxANIHandler
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxANIHandler : public wxCURHandler
+class WXDLLIMPEXP_CORE wxANIHandler : public wxCURHandler
 {
 public:
     wxANIHandler()
index 309a09f1617828e91e70ff35f7bfa389ad4eb23b..eb536ca793382e12e81e2429b74f3587b0871d76 100644 (file)
@@ -79,14 +79,14 @@ class WXDLLIMPEXP_FWD_CORE wxPalette;
 
 #if wxUSE_VARIANT
 #include "wx/variant.h"
-DECLARE_VARIANT_OBJECT_EXPORTED(wxImage,WXDLLEXPORT)
+DECLARE_VARIANT_OBJECT_EXPORTED(wxImage,WXDLLIMPEXP_CORE)
 #endif
 
 //-----------------------------------------------------------------------------
 // wxImageHandler
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxImageHandler: public wxObject
+class WXDLLIMPEXP_CORE wxImageHandler: public wxObject
 {
 public:
     wxImageHandler()
@@ -140,7 +140,7 @@ private:
 // wxImageHistogram
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxImageHistogramEntry
+class WXDLLIMPEXP_CORE wxImageHistogramEntry
 {
 public:
     wxImageHistogramEntry() { index = value = 0; }
@@ -152,7 +152,7 @@ WX_DECLARE_EXPORTED_HASH_MAP(unsigned long, wxImageHistogramEntry,
                              wxIntegerHash, wxIntegerEqual,
                              wxImageHistogramBase);
 
-class WXDLLEXPORT wxImageHistogram : public wxImageHistogramBase
+class WXDLLIMPEXP_CORE wxImageHistogram : public wxImageHistogramBase
 {
 public:
     wxImageHistogram() : wxImageHistogramBase(256) { }
@@ -182,7 +182,7 @@ public:
 // wxImage
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxImage: public wxObject
+class WXDLLIMPEXP_CORE wxImage: public wxObject
 {
 public:
     // red, green and blue are 8 bit unsigned integers in the range of 0..255
@@ -444,9 +444,9 @@ private:
 };
 
 
-extern void WXDLLEXPORT wxInitAllImageHandlers();
+extern void WXDLLIMPEXP_CORE wxInitAllImageHandlers();
 
-extern WXDLLEXPORT_DATA(wxImage)    wxNullImage;
+extern WXDLLIMPEXP_DATA_CORE(wxImage)    wxNullImage;
 
 //-----------------------------------------------------------------------------
 // wxImage handlers
index 493dbb09e6b01d3c3a073012ac4fc630d17fd597..d4f170843ba187409aa750a5407e99b54f735f63 100644 (file)
@@ -19,7 +19,7 @@
 
 #if wxUSE_GIF
 
-class WXDLLEXPORT wxGIFHandler : public wxImageHandler
+class WXDLLIMPEXP_CORE wxGIFHandler : public wxImageHandler
 {
 public:
     inline wxGIFHandler()
index 8097d8e65654f792ae6da54ed5903806d872b931..7ac5c35e7dd2ba07564027676d4fa9046c3139d0 100644 (file)
@@ -18,7 +18,7 @@
 
 #if wxUSE_IMAGE && wxUSE_IFF
 
-class WXDLLEXPORT wxIFFHandler : public wxImageHandler
+class WXDLLIMPEXP_CORE wxIFFHandler : public wxImageHandler
 {
 public:
     wxIFFHandler()
index 6a579864b9baf3caea316b16b72fd1d1fa39271b..976e3585766290302ccb6caaea607cde1c410f6c 100644 (file)
@@ -20,7 +20,7 @@
 
 #include "wx/image.h"
 
-class WXDLLEXPORT wxJPEGHandler: public wxImageHandler
+class WXDLLIMPEXP_CORE wxJPEGHandler: public wxImageHandler
 {
 public:
     inline wxJPEGHandler()
index 0e8693dca09334adaa6af82997be45017ccff431..c3e1b3ed9b6c61b22de21c0b2b930559c0e807f5 100644 (file)
@@ -18,7 +18,7 @@
 //-----------------------------------------------------------------------------
 
 #if wxUSE_PCX
-class WXDLLEXPORT wxPCXHandler : public wxImageHandler
+class WXDLLIMPEXP_CORE wxPCXHandler : public wxImageHandler
 {
 public:
     inline wxPCXHandler()
index 8edf80b879cb132f8150681f0d57d4d5d9605b19..67aae57b63697111e9ccdd9003742b1211c8b3d9 100644 (file)
@@ -30,7 +30,7 @@ enum
     wxPNG_TYPE_GREY_RED = 3
 };
 
-class WXDLLEXPORT wxPNGHandler: public wxImageHandler
+class WXDLLIMPEXP_CORE wxPNGHandler: public wxImageHandler
 {
 public:
     inline wxPNGHandler()
index b9e46eea3f794ced06d033b456d447544bc9af3b..8cd3f9f8840d7180a9fbad5151e8476a26aeb30f 100644 (file)
@@ -17,7 +17,7 @@
 //-----------------------------------------------------------------------------
 
 #if wxUSE_PNM
-class WXDLLEXPORT wxPNMHandler : public wxImageHandler
+class WXDLLIMPEXP_CORE wxPNMHandler : public wxImageHandler
 {
 public:
     inline wxPNMHandler()
index b5fdc3362b3793588c4efd7b8953f5dcc4927608..f17dcf7cff036f2b1047cba9a67504fd53a40e88 100644 (file)
@@ -18,7 +18,7 @@
 
 #if wxUSE_TGA
 
-class WXDLLEXPORT wxTGAHandler : public wxImageHandler
+class WXDLLIMPEXP_CORE wxTGAHandler : public wxImageHandler
 {
 public:
     wxTGAHandler()
index 536cf3926c486eb7d2a9be294fc4dcab23404826..75bfe80a14f050f1ad74fe15151e50255a6990e1 100644 (file)
@@ -26,7 +26,7 @@
 #define wxIMAGE_OPTION_COMPRESSION                 wxString(_T("Compression"))
 #define wxIMAGE_OPTION_IMAGEDESCRIPTOR             wxString(_T("ImageDescriptor"))
 
-class WXDLLEXPORT wxTIFFHandler: public wxImageHandler
+class WXDLLIMPEXP_CORE wxTIFFHandler: public wxImageHandler
 {
 public:
     wxTIFFHandler();
index e47c873e6329771108676c9c68340a57079c84c2..f9af1ba2252acdb4c3aad08bfc134a1d8f02012e 100644 (file)
@@ -17,7 +17,7 @@
 // wxXPMHandler
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxXPMHandler : public wxImageHandler
+class WXDLLIMPEXP_CORE wxXPMHandler : public wxImageHandler
 {
 public:
     inline wxXPMHandler()
index 2691f5d0cd2b7154a2dbed00b03f8d0b5bcda64f..accc8836eb9108d6f77b152ac2ea2de6f7195818 100644 (file)
@@ -64,7 +64,7 @@ enum wxRelationship
 // wxIndividualLayoutConstraint: a constraint on window position
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxIndividualLayoutConstraint : public wxObject
+class WXDLLIMPEXP_CORE wxIndividualLayoutConstraint : public wxObject
 {
 public:
     wxIndividualLayoutConstraint();
@@ -155,7 +155,7 @@ protected:
 // wxLayoutConstraints: the complete set of constraints for a window
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxLayoutConstraints : public wxObject
+class WXDLLIMPEXP_CORE wxLayoutConstraints : public wxObject
 {
 public:
     // Edge constraints
index 3aace939b46338426c6f934fd8b0860da4b106f3..a09bc6158dd67fe8c7846ec558728ae792506414 100644 (file)
@@ -131,7 +131,7 @@ inline const void *wxListCastElementToVoidPtr(const wxString& str)
     for mingw 3.2.3 compiler bug that prevents a static function of liT class
     from being exported into dll. A minimal code snippet reproducing the bug:
 
-         struct WXDLLEXPORT Foo
+         struct WXDLLIMPEXP_CORE Foo
          {
             static void Bar();
             struct SomeInnerClass
@@ -342,7 +342,7 @@ inline const void *wxListCastElementToVoidPtr(const wxString& str)
     WX_DECLARE_LIST(elementtype, listname)
 
 #define WX_DECLARE_EXPORTED_LIST(elementtype, listname)                     \
-    WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLEXPORT)
+    WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLIMPEXP_CORE)
 #define WX_DECLARE_EXPORTED_LIST_PTR(elementtype, listname)                 \
     WX_DECLARE_EXPORTED_LIST(elementtype, listname)
 
@@ -1097,11 +1097,11 @@ private:
     WX_DECLARE_LIST_2(elementtype, listname, wx##listname##Node, decl)
 
 #define WX_DECLARE_EXPORTED_LIST(elementtype, listname)                     \
-    WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLEXPORT)
+    WX_DECLARE_LIST_WITH_DECL(elementtype, listname, class WXDLLIMPEXP_CORE)
 
 #define WX_DECLARE_EXPORTED_LIST_PTR(elementtype, listname)                     \
     typedef elementtype _WX_LIST_ITEM_TYPE_##listname;                      \
-    WX_DECLARE_LIST_PTR_2(elementtype, listname, wx##listname##Node, class WXDLLEXPORT)
+    WX_DECLARE_LIST_PTR_2(elementtype, listname, wx##listname##Node, class WXDLLIMPEXP_CORE)
 
 #define WX_DECLARE_USER_EXPORTED_LIST(elementtype, listname, usergoo)       \
     typedef elementtype _WX_LIST_ITEM_TYPE_##listname;                      \
index a2ca6ce5f2b0616e346bbb224796bf5f2abea4b5..f0f2ffc6b64abd554f7bf976b12e8ffe36ca227a 100644 (file)
@@ -161,7 +161,7 @@ enum
 // TODO: this should be renamed to wxItemAttr or something general like this
 //       and used as base class for wxTextAttr which duplicates this class
 //       entirely currently
-class WXDLLEXPORT wxListItemAttr
+class WXDLLIMPEXP_CORE wxListItemAttr
 {
 public:
     // ctors
@@ -213,7 +213,7 @@ private:
 // wxListItem: the item or column info, used to exchange data with wxListCtrl
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxListItem : public wxObject
+class WXDLLIMPEXP_CORE wxListItem : public wxObject
 {
 public:
     wxListItem() { Init(); m_attr = NULL; }
@@ -371,7 +371,7 @@ private:
 // wxListEvent - the event class for the wxListCtrl notifications
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxListEvent : public wxNotifyEvent
+class WXDLLIMPEXP_CORE wxListEvent : public wxNotifyEvent
 {
 public:
     wxListEvent(wxEventType commandType = wxEVT_NULL, int winid = 0)
index 13a28528661f1c42dc5866d12456772fa414031b..13c86119326c2b54418f0a6f54087f3f2090a898 100644 (file)
@@ -36,7 +36,7 @@ extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_LISTBOOK_PAGE_CHANGING;
 // wxListbook
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxListbook : public wxBookCtrlBase
+class WXDLLIMPEXP_CORE wxListbook : public wxBookCtrlBase
 {
 public:
     wxListbook()
@@ -116,7 +116,7 @@ private:
 // listbook event class and related stuff
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxListbookEvent : public wxBookCtrlBaseEvent
+class WXDLLIMPEXP_CORE wxListbookEvent : public wxBookCtrlBaseEvent
 {
 public:
     wxListbookEvent(wxEventType commandType = wxEVT_NULL, int id = 0,
index cab8df6d63547a3343e12b637bf7db9c830722d4..e77d2b3ab867ede86db3862b9d87811b57674ff8 100644 (file)
@@ -30,13 +30,13 @@ class WXDLLIMPEXP_FWD_BASE wxArrayString;
 // global data
 // ----------------------------------------------------------------------------
 
-extern WXDLLEXPORT_DATA(const char) wxListBoxNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxListBoxNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxListBox interface is defined by the class wxListBoxBase
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxListBoxBase : public wxControlWithItems
+class WXDLLIMPEXP_CORE wxListBoxBase : public wxControlWithItems
 {
 public:
     wxListBoxBase() { }
index ef4e2d3763167ecc8f13771fb9e1f3c0b048a516..8bb9adcabce0da3bd531f06489bfc521a15c2788 100644 (file)
@@ -22,7 +22,7 @@
 // constants
 // ----------------------------------------------------------------------------
 
-extern WXDLLEXPORT_DATA(const char) wxListCtrlNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxListCtrlNameStr[];
 
 // ----------------------------------------------------------------------------
 // include the wxListCtrl class declaration
@@ -40,7 +40,7 @@ extern WXDLLEXPORT_DATA(const char) wxListCtrlNameStr[];
 // wxListView: a class which provides a better API for list control
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxListView : public wxListCtrl
+class WXDLLIMPEXP_CORE wxListView : public wxListCtrl
 {
 public:
     wxListView() { }
index cf0ce7692786f15f665c970099daeef7f8d9aa10..5a81d61840011f8dca1b054352c4404f8e297039 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/string.h"
 #include "wx/event.h"
 
-class WXDLLEXPORT wxAcceleratorTable: public wxObject
+class WXDLLIMPEXP_CORE wxAcceleratorTable: public wxObject
 {
 DECLARE_DYNAMIC_CLASS(wxAcceleratorTable)
 public:
@@ -30,7 +30,7 @@ public:
     int GetCommand( wxKeyEvent &event );
 };
 
-// WXDLLEXPORT_DATA(extern wxAcceleratorTable) wxNullAcceleratorTable;
+// WXDLLIMPEXP_DATA_CORE(extern wxAcceleratorTable) wxNullAcceleratorTable;
 
 #endif
     // _WX_ACCEL_H_
index 5a4fc4b923b8f37a958df8e37aa9c7f46de11d3d..66796866a4ba8428daf73e014095d394065cdcaa 100644 (file)
@@ -24,14 +24,14 @@ class WXDLLIMPEXP_FWD_CORE wxKeyEvent;
 class WXDLLIMPEXP_FWD_BASE wxLog;
 
 // Force an exit from main loop
-void WXDLLEXPORT wxExit();
+void WXDLLIMPEXP_CORE wxExit();
 
 // Yield to other apps/messages
-bool WXDLLEXPORT wxYield();
+bool WXDLLIMPEXP_CORE wxYield();
 
 // Represents the application. Derive OnInit and declare
 // a new App object to start application
-class WXDLLEXPORT wxApp: public wxAppBase
+class WXDLLIMPEXP_CORE wxApp: public wxAppBase
 {
     DECLARE_DYNAMIC_CLASS(wxApp)
 
index f77a515da531238b6d002defb2dd1cb53795887a..6a0eb7f77f950c41866fe0e341f3b4b3c8d16b3b 100644 (file)
@@ -31,7 +31,7 @@ public:
 
 #if wxUSE_GUI
 
-class WXDLLEXPORT wxGUIAppTraits : public wxGUIAppTraitsBase
+class WXDLLIMPEXP_CORE wxGUIAppTraits : public wxGUIAppTraitsBase
 {
 public:
 #if wxUSE_TIMER
index 40ad96f232abf9666c13e6d274cee09949bcca38..5aa1ce31b352c296411c2d3bcac13f091b675b67 100644 (file)
@@ -31,7 +31,7 @@ class WXDLLIMPEXP_FWD_CORE wxPixelDataBase;
 // 8 bit is chosen only for performance reasons, note also that this is the inverse value range
 // from alpha, where 0 = invisible , 255 = fully drawn
 
-class WXDLLEXPORT wxMask: public wxObject
+class WXDLLIMPEXP_CORE wxMask: public wxObject
 {
     DECLARE_DYNAMIC_CLASS(wxMask)
 
@@ -80,7 +80,7 @@ private:
 
 };
 
-class WXDLLEXPORT wxBitmap: public wxBitmapBase
+class WXDLLIMPEXP_CORE wxBitmap: public wxBitmapBase
 {
     DECLARE_DYNAMIC_CLASS(wxBitmap)
 
index 3e30334b32bb0cefe13d1593de0f88cac505bc0c..265d2757bd2d91c57337667d7eb42bd9d19a320c 100644 (file)
 
 #include "wx/button.h"
 
-WXDLLEXPORT_DATA(extern const char) wxButtonNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxButtonNameStr[];
 
 #define wxDEFAULT_BUTTON_MARGIN 4
 
-class WXDLLEXPORT wxBitmapButton: public wxBitmapButtonBase
+class WXDLLIMPEXP_CORE wxBitmapButton: public wxBitmapButtonBase
 {
     DECLARE_DYNAMIC_CLASS(wxBitmapButton)
 
index f553b4ec056e3a248d7ded0bcf6699e4abb6a022..c59a4af24fe4e7b2566f5209b14bc273d6fdc5a3 100644 (file)
@@ -19,7 +19,7 @@
 class WXDLLIMPEXP_FWD_CORE wxBrush;
 
 // Brush
-class WXDLLEXPORT wxBrush: public wxBrushBase
+class WXDLLIMPEXP_CORE wxBrush: public wxBrushBase
 {
 public:
     wxBrush();
index d43300cb845f9b1ee7d4cad1f6d8994843d020a1..1c3b4d01ae9f9e3db415e5acc6495d954f8abdb2 100644 (file)
 #include "wx/control.h"
 #include "wx/gdicmn.h"
 
-WXDLLEXPORT_DATA(extern const char) wxButtonNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxButtonNameStr[];
 
 // Pushbutton
-class WXDLLEXPORT wxButton: public wxButtonBase
+class WXDLLIMPEXP_CORE wxButton: public wxButtonBase
 {
 public:
     wxButton() {}
@@ -55,7 +55,7 @@ protected:
     DECLARE_DYNAMIC_CLASS(wxButton)
 };
 
-class WXDLLEXPORT wxDisclosureTriangle: public wxControl
+class WXDLLIMPEXP_CORE wxDisclosureTriangle: public wxControl
 {
 public:
     wxDisclosureTriangle(wxWindow *parent,
index e1447e355b2d5d7eb7aecdd0255e66d4f41e2b4a..981a66b7cccaeb8369f9d82649f9e223e38473a5 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_CHECKBOX_H_
 
 // Checkbox item (single checkbox)
-class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase
+class WXDLLIMPEXP_CORE wxCheckBox : public wxCheckBoxBase
 {
 public:
     wxCheckBox() { }
@@ -45,7 +45,7 @@ protected:
 };
 
 class WXDLLIMPEXP_FWD_CORE wxBitmap;
-class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox
+class WXDLLIMPEXP_CORE wxBitmapCheckBox: public wxCheckBox
 {
 public:
     int checkWidth;
index 3cc70996b402f8e8f91e2297dca5ac2896e6aa25..8be9e99c08fc3c69580226e18d039a018c9424b7 100644 (file)
@@ -22,7 +22,7 @@ public :
     virtual ~wxMacCheckListControl() { }
 };
 
-class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase
+class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase
 {
 public:
     // ctors
index 04946ff285fea912a675ce95d3832bc0b3bf6ea7..c73a831069994e1b4bb0ab4e4159efab9fb9c371 100644 (file)
 #include  "wx/dynarray.h"
 #include  "wx/arrstr.h"
 
-WXDLLEXPORT_DATA(extern const char) wxChoiceNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxChoiceNameStr[];
 
 WX_DEFINE_ARRAY( char * , wxChoiceDataArray ) ;
 
 // Choice item
-class WXDLLEXPORT wxChoice: public wxChoiceBase
+class WXDLLIMPEXP_CORE wxChoice: public wxChoiceBase
 {
     DECLARE_DYNAMIC_CLASS(wxChoice)
 
index 0c80b03c26e80897a1b2d84e435126218e273fb5..973530ad296bf47c803b5b2edc712e94165e34df 100644 (file)
@@ -28,7 +28,7 @@
 //-----------------------------------------------------------------------------
 
 class WXDLLIMPEXP_FWD_CORE wxDataObject;
-class WXDLLEXPORT wxClipboard : public wxClipboardBase
+class WXDLLIMPEXP_CORE wxClipboard : public wxClipboardBase
 {
     DECLARE_DYNAMIC_CLASS(wxClipboard)
 
index 402547bdf8a4d21de1154fdd1484b3f77f6b42f3..219e1b4e192347e4a8a6f40deba114564a17393a 100644 (file)
@@ -21,7 +21,7 @@
  * Platform-specific colour dialog implementation
  */
 
-class WXDLLEXPORT wxColourDialog: public wxDialog
+class WXDLLIMPEXP_CORE wxColourDialog: public wxDialog
 {
 DECLARE_DYNAMIC_CLASS(wxColourDialog)
 public:
index 22a3925e52d3465ecf23d385fd9f64144f973ec2..431149f06060fa5554665cadb19a263608323b33 100644 (file)
@@ -20,7 +20,7 @@
 struct RGBColor;
 
 // Colour
-class WXDLLEXPORT wxColour: public wxColourBase
+class WXDLLIMPEXP_CORE wxColour: public wxColourBase
 {
 public:
     // constructors
index c38095768dc6a5a7be00fbe18c07d8fd99c1885d..f8ff5bd4e53a96d8b77d3e5130bff4e8ebe6f7ca 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/containr.h"
 #include "wx/choice.h"
 
-WXDLLEXPORT_DATA(extern const char) wxComboBoxNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxComboBoxNameStr[];
 
 // forward declaration of private implementation classes
 
@@ -23,7 +23,7 @@ class wxComboBoxText;
 class wxComboBoxChoice;
 
 // Combobox item
-class WXDLLEXPORT wxComboBox : public wxControl, public wxComboBoxBase
+class WXDLLIMPEXP_CORE wxComboBox : public wxControl, public wxComboBoxBase
 {
     DECLARE_DYNAMIC_CLASS(wxComboBox)
 
index 41b9ddc2cce6d3e22df10bd1bc4ebf86ffd434d6..8d7f2652c378f1cd03e3be6ee5bd61554020f8aa 100644 (file)
 #ifndef _WX_CONTROL_H_
 #define _WX_CONTROL_H_
 
-WXDLLEXPORT_DATA(extern const char) wxControlNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxControlNameStr[];
 
 // General item class
-class WXDLLEXPORT wxControl : public wxControlBase
+class WXDLLIMPEXP_CORE wxControl : public wxControlBase
 {
     DECLARE_ABSTRACT_CLASS(wxControl)
 
index 7b56e231f6f3e71e24e0eb3587d70f4ec5446fd5..a9248f7e90a40da24839a92d7c6f2b35647140b9 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/bitmap.h"
 
 // Cursor
-class WXDLLEXPORT wxCursor : public wxGDIObject
+class WXDLLIMPEXP_CORE wxCursor : public wxGDIObject
 {
 public:
     wxCursor();
@@ -48,6 +48,6 @@ private:
     DECLARE_DYNAMIC_CLASS(wxCursor)
 };
 
-extern WXDLLEXPORT void wxSetCursor(const wxCursor& cursor);
+extern WXDLLIMPEXP_CORE void wxSetCursor(const wxCursor& cursor);
 
 #endif // _WX_CURSOR_H_
index 96a108c335c1ea6a208531ff6263fbaec9ed37b5..910dfc5fef3cf8bf35889154aa4200efd7815fae 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_MAC_DATAFORM_H
 #define _WX_MAC_DATAFORM_H
 
-class WXDLLEXPORT wxDataFormat
+class WXDLLIMPEXP_CORE wxDataFormat
 {
 public:
     typedef unsigned long NativeFormat;
index e5c0fda881b9fac8ae1f3722e4074a00163a1580..4b027bfe136f6e724032f1c24d0594740348bf65 100644 (file)
@@ -16,7 +16,7 @@
 // wxDataObject is the same as wxDataObjectBase under wxGTK
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDataObject : public wxDataObjectBase
+class WXDLLIMPEXP_CORE wxDataObject : public wxDataObjectBase
 {
 public:
     wxDataObject();
index b647d2a4651294d63fcd2344da4cdb13d29b0b17..8caa5b4e6dad4748d331bc9295f7c455ca2ff6f5 100644 (file)
@@ -16,7 +16,7 @@
 // wxBitmapDataObject is a specialization of wxDataObject for bitmaps
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmapDataObject : public wxBitmapDataObjectBase
+class WXDLLIMPEXP_CORE wxBitmapDataObject : public wxBitmapDataObjectBase
 {
 public:
     // ctors
@@ -61,7 +61,7 @@ protected :
 // wxFileDataObject is a specialization of wxDataObject for file names
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileDataObject : public wxFileDataObjectBase
+class WXDLLIMPEXP_CORE wxFileDataObject : public wxFileDataObjectBase
 {
 public:
     // implement base class pure virtuals
index a35e461720a755f1e6f44167c8d04a5ec6e26136..fa518275f1080b082fac8c6baf27826e5ce6e0b2 100644 (file)
@@ -22,7 +22,7 @@
 class WXDLLIMPEXP_FWD_CORE wxPaintDC;
 class WXDLLIMPEXP_FWD_CORE wxWindow;
 
-class WXDLLEXPORT wxWindowDCImpl: public wxGCDCImpl
+class WXDLLIMPEXP_CORE wxWindowDCImpl: public wxGCDCImpl
 {
 public:
     wxWindowDCImpl( wxDC *owner );
@@ -42,7 +42,7 @@ protected:
 };
 
 
-class WXDLLEXPORT wxClientDCImpl: public wxWindowDCImpl
+class WXDLLIMPEXP_CORE wxClientDCImpl: public wxWindowDCImpl
 {
 public:
     wxClientDCImpl( wxDC *owner );
@@ -55,7 +55,7 @@ private:
 };
 
 
-class WXDLLEXPORT wxPaintDCImpl: public wxWindowDCImpl
+class WXDLLIMPEXP_CORE wxPaintDCImpl: public wxWindowDCImpl
 {
 public:
     wxPaintDCImpl( wxDC *owner );
index b31d327e361f776c614e89fab2894b3e9c5099f6..c42c6544e7e11f8eef7df2d1dafbfe5f0747b896 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/mac/carbon/dcclient.h"
 
-class WXDLLEXPORT wxMemoryDCImpl: public wxPaintDCImpl
+class WXDLLIMPEXP_CORE wxMemoryDCImpl: public wxPaintDCImpl
 {
 public:
     wxMemoryDCImpl( wxMemoryDC *owner );
index e11ee315703b5b4c926fa3e777d9b0e26de9c198..1e64559a2d6a572c3db5978603b90e86f8a71040 100644 (file)
@@ -18,7 +18,7 @@
 
 class wxNativePrinterDC ;
 
-class WXDLLEXPORT wxPrinterDCImpl: public wxGCDCImpl
+class WXDLLIMPEXP_CORE wxPrinterDCImpl: public wxGCDCImpl
 {
 public:
 #if wxUSE_PRINTING_ARCHITECTURE
index a687ee80a42e24a73410c483cb6f44d913128160..a97d66554e917c3f52c8aabfbfb6c36486bb4ab8 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/dcclient.h"
 #include "wx/mac/carbon/dcclient.h"
 
-class WXDLLEXPORT wxScreenDCImpl: public wxWindowDCImpl
+class WXDLLIMPEXP_CORE wxScreenDCImpl: public wxWindowDCImpl
 {
 public:
     wxScreenDCImpl( wxDC *owner );
index 4b3827bea0221fec586d1644cab67db7910ad002..351f6b8aee924f5d78b2bf96e317cae69ea3959e 100644 (file)
 
 #include "wx/panel.h"
 
-WXDLLEXPORT_DATA(extern const char) wxDialogNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxDialogNameStr[];
 
 class WXDLLIMPEXP_FWD_CORE wxMacToolTip ;
 
 // Dialog boxes
-class WXDLLEXPORT wxDialog : public wxDialogBase
+class WXDLLIMPEXP_CORE wxDialog : public wxDialogBase
 {
     DECLARE_DYNAMIC_CLASS(wxDialog)
 
index 5db3edc6bb002d292642ac4475ade05610b21a99..8e7761505da90c84aa82d64d5510ddad08a0fc95 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DIRDLG_H_
 #define _WX_DIRDLG_H_
 
-class WXDLLEXPORT wxDirDialog : public wxDirDialogBase
+class WXDLLIMPEXP_CORE wxDirDialog : public wxDirDialogBase
 {
 public:
     wxDirDialog(wxWindow *parent,
index fc7dc9a3006289b0c785156d7aef552142d95e08..2f0b8d48ef2e3ac9922054a3e603d4c919fd722b 100644 (file)
@@ -45,7 +45,7 @@ class WXDLLIMPEXP_FWD_CORE wxDropSource;
 // wxDropTarget
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDropTarget: public wxDropTargetBase
+class WXDLLIMPEXP_CORE wxDropTarget: public wxDropTargetBase
 {
   public:
 
@@ -67,7 +67,7 @@ class WXDLLEXPORT wxDropTarget: public wxDropTargetBase
 // wxDropSource
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDropSource: public wxDropSourceBase
+class WXDLLIMPEXP_CORE wxDropSource: public wxDropSourceBase
 {
 public:
     // ctors: if you use default ctor you must call SetData() later!
index c13a51836c788246d171bc52d8c55640cbc43680..5cf323876dde47f713caff871b7d19decacf615e 100644 (file)
@@ -29,7 +29,7 @@
 
 #if wxMAC_USE_RUN_APP_EVENT_LOOP
 
-class WXDLLEXPORT wxGUIEventLoop : public wxEventLoopBase
+class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxEventLoopBase
 {
 public:
     wxGUIEventLoop() { m_exitcode = 0; }
@@ -46,7 +46,7 @@ private:
 
 #else // manual event loop
 
-class WXDLLEXPORT wxGUIEventLoop : public wxEventLoopManual
+class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxEventLoopManual
 {
 public:
     wxGUIEventLoop() { }
index d9559656f9206c8dfdee99735e6f2cc9705d63b4..cd2d7c911180236f0e2348d8eaf353d51bdc46bf 100644 (file)
@@ -16,7 +16,7 @@
 // wxFileDialog
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
+class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase
 {
 DECLARE_DYNAMIC_CLASS(wxFileDialog)
 protected:
index 6266ea102c97a3e85e11952082a08b45ceec5c90..3962e4b287c905af4c9fc9292f1bc64ee8e3ec99 100644 (file)
@@ -16,7 +16,7 @@
 // wxFont
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFont : public wxFontBase
+class WXDLLIMPEXP_CORE wxFont : public wxFontBase
 {
 public:
     // ctors and such
index eec6a51be59fd930c8a81b9f57f6815d92791ff5..48af50e871bb6d70b9e0295e7f272852fc72fb09 100644 (file)
@@ -25,7 +25,7 @@
 
 #if wxMAC_USE_EXPERIMENTAL_FONTDIALOG
 
-class WXDLLEXPORT wxFontDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxFontDialog : public wxDialog
 {
 public:
     wxFontDialog();
@@ -78,7 +78,7 @@ class WXDLLIMPEXP_FWD_CORE wxCheckBox;
 #endif
     // !USE_NATIVE_FONT_DIALOG_FOR_MACOSX
 
-class WXDLLEXPORT wxFontDialog: public wxDialog
+class WXDLLIMPEXP_CORE wxFontDialog: public wxDialog
 {
 DECLARE_DYNAMIC_CLASS(wxFontDialog)
 
index 239cd4db5a3ed4727ac48afb30ff689380df7cb4..4eb04e2435048a5dc7896a61b264efb47e59ac39 100644 (file)
 #include "wx/accel.h"
 #include "wx/icon.h"
 
-WXDLLEXPORT_DATA(extern const char) wxToolBarNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxToolBarNameStr[];
 
 class WXDLLIMPEXP_FWD_CORE wxMenuBar;
 class WXDLLIMPEXP_FWD_CORE wxStatusBar;
 class WXDLLIMPEXP_FWD_CORE wxMacToolTip ;
 
-class WXDLLEXPORT wxFrame: public wxFrameBase 
+class WXDLLIMPEXP_CORE wxFrame: public wxFrameBase 
 {
 public:
     // construction
index d2c7340d518ed5f71ce6504175c52b5daaddc448..3db68bebe869ada67af428b6799d234553ae13d8 100644 (file)
 
 #include "wx/control.h"
 
-WXDLLEXPORT_DATA(extern const char) wxGaugeNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxGaugeNameStr[];
 
 // Group box
-class WXDLLEXPORT wxGauge: public wxGaugeBase
+class WXDLLIMPEXP_CORE wxGauge: public wxGaugeBase
 {
  public:
   inline wxGauge() { }
index 415ccdb1c0e7a36c3c8d23f236d329d95d8722a4..7bb66c7cba30522311ef7df3894e8f3ae6264cdc 100644 (file)
@@ -17,7 +17,7 @@
 
 #include "wx/helpbase.h"
 
-class WXDLLEXPORT wxXXXXHelpController: public wxHelpControllerBase
+class WXDLLIMPEXP_CORE wxXXXXHelpController: public wxHelpControllerBase
 {
   DECLARE_CLASS(wxXXXXHelpController)
 
index 8fae1eb6bf74be826ff9670d2d1e3acbb134b81b..754a5344c14334a5eba83a854eee4390248af294 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/bitmap.h"
 
 // Icon
-class WXDLLEXPORT wxIcon : public wxGDIObject
+class WXDLLIMPEXP_CORE wxIcon : public wxGDIObject
 {
 public:
     wxIcon();
@@ -63,7 +63,7 @@ private:
 };
 
 /*
-class WXDLLEXPORT wxICONFileHandler: public wxBitmapHandler
+class WXDLLIMPEXP_CORE wxICONFileHandler: public wxBitmapHandler
 {
   DECLARE_DYNAMIC_CLASS(wxICONFileHandler)
 public:
@@ -79,7 +79,7 @@ public:
 };
 */
 
-class WXDLLEXPORT wxICONResourceHandler: public wxBitmapHandler
+class WXDLLIMPEXP_CORE wxICONResourceHandler: public wxBitmapHandler
 {
   DECLARE_DYNAMIC_CLASS(wxICONResourceHandler)
 public:
index 59bfe6261d544151c4b57c58b5c791c3f4681d04..10e96b588dca42b4051ecf25ab8c92eda6d72550 100644 (file)
@@ -19,7 +19,7 @@ class WXDLLIMPEXP_FWD_CORE wxDC;
 class WXDLLIMPEXP_FWD_CORE wxBitmap;
 class WXDLLIMPEXP_FWD_CORE wxColour;
 
-class WXDLLEXPORT wxImageList: public wxObject
+class WXDLLIMPEXP_CORE wxImageList: public wxObject
 {
 public:
     wxImageList() { m_width = m_height = 0; }
index 4be48d9bb6daebe842a604ddfe1a6bf2abefe53f..390cb34b63a4e5e99f3d45123924df1d0b3fc1c9 100644 (file)
@@ -32,7 +32,7 @@ WX_DEFINE_ARRAY( char* , wxListDataArray );
 // List box control
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxListBox : public wxListBoxBase
+class WXDLLIMPEXP_CORE wxListBox : public wxListBoxBase
 {
 public:
     // ctors and such
index f9c3e4201adb78c8bf07b092e4b2a13164390c3c..16ccc810fa5d6e5f0ce02116b4b8e7a25cff6b41 100644 (file)
@@ -24,7 +24,7 @@ class wxListCtrlRenameTimer;
 
 WX_DECLARE_EXPORTED_LIST(wxListItem, wxColumnList);
 
-class WXDLLEXPORT wxListCtrl: public wxControl
+class WXDLLIMPEXP_CORE wxListCtrl: public wxControl
 {
   DECLARE_DYNAMIC_CLASS(wxListCtrl)
  public:
index 7b2c2cda179baf6d411ea22cf2e9fdfc5e8dcd13..39319b262b589b048dbc0ed8fa73f8b8697d53de 100644 (file)
 
 #include "wx/frame.h"
 
-WXDLLEXPORT_DATA(extern const char) wxStatusLineNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxStatusLineNameStr[];
 
 class WXDLLIMPEXP_FWD_CORE wxMDIClientWindow;
 class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
 
-class WXDLLEXPORT wxMDIParentFrame: public wxFrame
+class WXDLLIMPEXP_CORE wxMDIParentFrame: public wxFrame
 {
   DECLARE_DYNAMIC_CLASS(wxMDIParentFrame)
 
@@ -110,7 +110,7 @@ private:
     DECLARE_EVENT_TABLE()
 };
 
-class WXDLLEXPORT wxMDIChildFrame: public wxFrame
+class WXDLLIMPEXP_CORE wxMDIChildFrame: public wxFrame
 {
 DECLARE_DYNAMIC_CLASS(wxMDIChildFrame)
 public:
@@ -162,7 +162,7 @@ protected:
  * of the children. Phew! So the children are sort of 'adopted'...
  */
 
-class WXDLLEXPORT wxMDIClientWindow: public wxWindow
+class WXDLLIMPEXP_CORE wxMDIClientWindow: public wxWindow
 {
   DECLARE_DYNAMIC_CLASS(wxMDIClientWindow)
  public:
index 1b78b376493b471c4ebf0c949e757719829edd1d..4d5fa44c5ae7146c6467cf2b460dd84b38172da8 100644 (file)
@@ -20,7 +20,7 @@ class WXDLLIMPEXP_FWD_CORE wxFrame;
 // Menu
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenu : public wxMenuBase
+class WXDLLIMPEXP_CORE wxMenu : public wxMenuBase
 {
 public:
     // ctors & dtor
@@ -99,7 +99,7 @@ private:
 // Menu Bar (a la Windows)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenuBar : public wxMenuBarBase
+class WXDLLIMPEXP_CORE wxMenuBar : public wxMenuBarBase
 {
 public:
     // ctors & dtor
index 4be07df17b40ebc0a699b9a92dd4ad6197acdd5c..cae55835830d8af2b6873641ba1df67d9f37047d 100644 (file)
@@ -22,7 +22,7 @@
 // ----------------------------------------------------------------------------
 // wxMenuItem: an item in the menu, optionally implements owner-drawn behaviour
 // ----------------------------------------------------------------------------
-class WXDLLEXPORT wxMenuItem: public wxMenuItemBase
+class WXDLLIMPEXP_CORE wxMenuItem: public wxMenuItemBase
 {
 public:
     // ctor & dtor
index 694e45fb28b9aee8568c939d042897d10e3a87e6..da4c8641500415b9ed8ce390fc69b7cab7a332b7 100644 (file)
@@ -37,7 +37,7 @@ class wxMetafileRefData ;
 
 #define M_METAFILEDATA ((wxMetafileRefData *)m_refData)
 
-class WXDLLEXPORT wxMetafile : public wxGDIObject
+class WXDLLIMPEXP_CORE wxMetafile : public wxGDIObject
 {
 public:
     wxMetafile(const wxString& file = wxEmptyString);
@@ -71,7 +71,7 @@ protected:
 };
 
 
-class WXDLLEXPORT wxMetafileDCImpl: public wxGCDCImpl
+class WXDLLIMPEXP_CORE wxMetafileDCImpl: public wxGCDCImpl
 {
 public:
     wxMetafileDCImpl( wxDC *owner,
@@ -98,7 +98,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxMetafileDCImpl)
 };
 
-class WXDLLEXPORT wxMetafileDC: public wxDC
+class WXDLLIMPEXP_CORE wxMetafileDC: public wxDC
 {
  public:
     // the ctor parameters specify the filename (empty for memory metafiles),
@@ -130,17 +130,17 @@ private:
 
 // No origin or extent
 #define wxMakeMetaFilePlaceable wxMakeMetafilePlaceable
-bool WXDLLEXPORT wxMakeMetafilePlaceable(const wxString& filename, float scale = 1.0);
+bool WXDLLIMPEXP_CORE wxMakeMetafilePlaceable(const wxString& filename, float scale = 1.0);
 
 // Optional origin and extent
-bool WXDLLEXPORT wxMakeMetaFilePlaceable(const wxString& filename, int x1, int y1, int x2, int y2, float scale = 1.0, bool useOriginAndExtent = TRUE);
+bool WXDLLIMPEXP_CORE wxMakeMetaFilePlaceable(const wxString& filename, int x1, int y1, int x2, int y2, float scale = 1.0, bool useOriginAndExtent = TRUE);
 
 // ----------------------------------------------------------------------------
 // wxMetafileDataObject is a specialization of wxDataObject for metafile data
 // ----------------------------------------------------------------------------
 
 #if wxUSE_DATAOBJ
-class WXDLLEXPORT wxMetafileDataObject : public wxDataObjectSimple
+class WXDLLIMPEXP_CORE wxMetafileDataObject : public wxDataObjectSimple
 {
 public:
   // ctors
index 6d00c918ecae5eb91958040dd0e22b5aa0210693..ba00ddd1a40de20d1d63f7b67210ef46cc38af2a 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "wx/frame.h"
 
-class WXDLLEXPORT wxMiniFrame: public wxFrame {
+class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame {
 
   DECLARE_DYNAMIC_CLASS(wxMiniFrame)
 
index 2d00d5df3b34dc8c4b94d7e47af519ac06bf5757..1a945a909bc5738133bdde568762146533ac924c 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef _WX_MSGBOXDLG_H_
 #define _WX_MSGBOXDLG_H_
 
-class WXDLLEXPORT wxMessageDialog : public wxMessageDialogBase
+class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogBase
 {
 public:
     wxMessageDialog(wxWindow *parent,
index b363149674aacb356450ed299360c03ce58df347..c16fd9867e7aed704445955e7b9969c2306c4823 100644 (file)
@@ -139,7 +139,7 @@ private :
 };
 
 // list of all frames and modeless dialogs
-extern WXDLLEXPORT_DATA(wxWindowList) wxModelessWindows;
+extern WXDLLIMPEXP_DATA_CORE(wxWindowList) wxModelessWindows;
 
 
 #endif // _WX_MAC_NONOWNEDWND_H_
index b7429d92002d32c7ace3f36c30736df3c4662e9e..5c6aa4740f2006f03cfab9abff4a802dac683850 100644 (file)
@@ -16,7 +16,7 @@
 
 #define M_PALETTEDATA ((wxPaletteRefData *)m_refData)
 
-class WXDLLEXPORT wxPalette : public wxPaletteBase
+class WXDLLIMPEXP_CORE wxPalette : public wxPaletteBase
 {
 public:
     wxPalette();
index d354351519dfa79d15143f9ade7235eac52f8fc0..13332a3077da0ce19b0ff6ea2d0854b6bd7437ad 100644 (file)
@@ -17,7 +17,7 @@
 #include "wx/bitmap.h"
 
 // Pen
-class WXDLLEXPORT wxPen : public wxPenBase
+class WXDLLIMPEXP_CORE wxPen : public wxPenBase
 {
 public:
     wxPen();
index 2d8b4a0b27a1b92dc3ec4a66e8a0378b98aed6dd..de27a024d90426dd57cb206e0fed2fa9f26d2e45 100644 (file)
@@ -16,7 +16,7 @@
 
 #if wxUSE_LIBPNG
 
-class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler
+class WXDLLIMPEXP_CORE wxPNGFileHandler: public wxBitmapHandler
 {
   DECLARE_DYNAMIC_CLASS(wxPNGFileHandler)
 public:
index a8111d491e56082f579d9f46948335625771b8b5..3bf458ef156f78451a793614d1cbc5bc8f8b5973 100644 (file)
@@ -16,7 +16,7 @@
 // wxPopupWindow
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPopupWindow : public wxPopupWindowBase
+class WXDLLIMPEXP_CORE wxPopupWindow : public wxPopupWindowBase
 {
 public:
     wxPopupWindow() { }
index 3df2606ebf22ee890b0ddd980a4d80685bd43f51..d6ec1ce09bfa9abd3f24559c9bcc8345c9622a85 100644 (file)
@@ -25,7 +25,7 @@
  */
 
 class WXDLLIMPEXP_FWD_CORE wxDC;
-class WXDLLEXPORT wxMacPrintDialog: public wxPrintDialogBase
+class WXDLLIMPEXP_CORE wxMacPrintDialog: public wxPrintDialogBase
 {
 public:
     wxMacPrintDialog();
@@ -55,7 +55,7 @@ private:
  * The Mac page setup dialog
  */
 
-class WXDLLEXPORT wxMacPageSetupDialog: public wxPageSetupDialogBase
+class WXDLLIMPEXP_CORE wxMacPageSetupDialog: public wxPageSetupDialogBase
 {
 public:
     wxMacPageSetupDialog(wxWindow *parent, wxPageSetupData *data = NULL);
@@ -82,7 +82,7 @@ class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
 * (native) wxMacPageSetupDialog doesn't let you set margins.
 */
 
-class WXDLLEXPORT wxMacPageMarginsDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxMacPageMarginsDialog : public wxDialog
 {
 public:
     wxMacPageMarginsDialog(wxFrame* parent, wxPageSetupData* data);
index 62f14dd8405dc840eda64c630c7b030c3c36be29..776d6643c19a499ddb054b2509856ef0fd15beb7 100644 (file)
@@ -18,7 +18,7 @@
  * Represents the printer: manages printing a wxPrintout object
  */
  
-class WXDLLEXPORT wxMacPrinter: public wxPrinterBase
+class WXDLLIMPEXP_CORE wxMacPrinter: public wxPrinterBase
 {
   DECLARE_DYNAMIC_CLASS(wxMacPrinter)
 
@@ -39,7 +39,7 @@ class WXDLLEXPORT wxMacPrinter: public wxPrinterBase
  * Programmer creates an object of this class to preview a wxPrintout.
  */
  
-class WXDLLEXPORT wxMacPrintPreview: public wxPrintPreviewBase
+class WXDLLIMPEXP_CORE wxMacPrintPreview: public wxPrintPreviewBase
 {
   DECLARE_CLASS(wxMacPrintPreview)
 
index aa53b36900d686e7344ef526054d7e938c7284aa..d893acc5f2c3d668be9fbc7a62b1ec3a36e368d8 100644 (file)
@@ -33,7 +33,7 @@ typedef SInt32 SRefCon;
 #include "wx/mac/carbon/dcclient.h"
 #include "wx/mac/carbon/dcmemory.h"
 
-class WXDLLEXPORT wxMacCGContextStateSaver
+class WXDLLIMPEXP_CORE wxMacCGContextStateSaver
 {
     DECLARE_NO_COPY_CLASS(wxMacCGContextStateSaver)
 
@@ -100,7 +100,7 @@ template<> inline EventParamType wxMacGetEventParamType<CGContextRef>() { return
  template<> EventParamType wxMacGetEventParamType<GWorldPtr>() { return typeGWorldPtr; }
  */
 
-class WXDLLEXPORT wxMacCarbonEvent
+class WXDLLIMPEXP_CORE wxMacCarbonEvent
 {
 
 public :
@@ -245,7 +245,7 @@ typedef wxMacUPP<NMProcPtr,NMUPP,NewNMUPP,DisposeNMUPP> wxMacNMUPP;
 
 class WXDLLIMPEXP_FWD_CORE wxMacToolTipTimer ;
 
-class WXDLLEXPORT wxMacToolTip
+class WXDLLIMPEXP_CORE wxMacToolTip
 {
 public :
     wxMacToolTip() ;
@@ -331,7 +331,7 @@ enum {
 };
 #endif
 
-class WXDLLEXPORT wxMacControl : public wxObject
+class WXDLLIMPEXP_CORE wxMacControl : public wxObject
 {
 public :
     wxMacControl( wxWindow* peer , bool isRootControl = false );
@@ -513,7 +513,7 @@ protected :
 // basing on DataBrowserItemIDs
 //
 
-class WXDLLEXPORT wxMacDataBrowserControl : public wxMacControl
+class WXDLLIMPEXP_CORE wxMacDataBrowserControl : public wxMacControl
 {
 public :
     wxMacDataBrowserControl( wxWindow* peer, const wxPoint& pos, const wxSize& size, long style);
@@ -666,7 +666,7 @@ const DataBrowserPropertyID kMinColumnId = 1050;
 
 // base API for high-level databrowser operations
 
-class WXDLLEXPORT wxMacListControl
+class WXDLLIMPEXP_CORE wxMacListControl
 {
 public:
     virtual void            MacDelete( unsigned int n ) = 0;
@@ -696,7 +696,7 @@ enum DataItemType {
     DataItem_Text
 };
 
-class WXDLLEXPORT wxMacDataItem
+class WXDLLIMPEXP_CORE wxMacDataItem
 {
 public :
     wxMacDataItem();
@@ -748,7 +748,7 @@ const wxMacDataItemPtr wxMacDataBrowserRootContainer = NULL;
 
 WX_DEFINE_USER_EXPORTED_ARRAY_PTR(wxMacDataItemPtr, wxArrayMacDataItemPtr, class WXDLLIMPEXP_CORE);
 
-class WXDLLEXPORT wxMacDataItemBrowserControl : public wxMacDataBrowserControl, public wxMacListControl
+class WXDLLIMPEXP_CORE wxMacDataItemBrowserControl : public wxMacDataBrowserControl, public wxMacListControl
 {
 public :
     wxMacDataItemBrowserControl( wxWindow* peer , const wxPoint& pos, const wxSize& size, long style);
@@ -881,7 +881,7 @@ private :
     DECLARE_DYNAMIC_CLASS_NO_COPY(wxMacDataItemBrowserControl)
 };
 
-class WXDLLEXPORT wxMacDataItemBrowserSelectionSuppressor
+class WXDLLIMPEXP_CORE wxMacDataItemBrowserSelectionSuppressor
 {
 public :
     wxMacDataItemBrowserSelectionSuppressor(wxMacDataItemBrowserControl *browser);
@@ -899,7 +899,7 @@ private :
 
 // exposed for reuse in wxCheckListBox
 
-class WXDLLEXPORT wxMacListBoxItem : public wxMacDataItem
+class WXDLLIMPEXP_CORE wxMacListBoxItem : public wxMacDataItem
 {
 public :
     wxMacListBoxItem();
@@ -911,7 +911,7 @@ public :
         DataBrowserItemDataRef itemData ) const;
 };
 
-class WXDLLEXPORT wxMacDataBrowserListControl : public wxMacDataItemBrowserControl
+class WXDLLIMPEXP_CORE wxMacDataBrowserListControl : public wxMacDataItemBrowserControl
 {
 public:
     wxMacDataBrowserListControl( wxWindow *peer, const wxPoint& pos, const wxSize& size, long style );
@@ -944,7 +944,7 @@ CGColorSpaceRef WXDLLIMPEXP_CORE wxMacGetGenericRGBColorSpace(void);
 
 // toplevel.cpp
 
-class WXDLLEXPORT wxMacDeferredWindowDeleter : public wxObject
+class WXDLLIMPEXP_CORE wxMacDeferredWindowDeleter : public wxObject
 {
 public :
     wxMacDeferredWindowDeleter( WindowRef windowRef );
@@ -996,7 +996,7 @@ void wxMacGlobalToLocal( WindowRef window , Point*pt );
 
 bool wxMacInitCocoa();
 
-class WXDLLEXPORT wxMacAutoreleasePool
+class WXDLLIMPEXP_CORE wxMacAutoreleasePool
 {
 public :
     wxMacAutoreleasePool();
index 57581164ca6dae28d74417ab42251a384ed3132d..31d880033c3f0b9da43aa9a3660e843f38496ed1 100644 (file)
@@ -16,7 +16,7 @@
 #include "wx/print.h"
 #include "wx/mac/private.h"
 
-class WXDLLEXPORT wxMacCarbonPrintData : public wxPrintNativeDataBase
+class WXDLLIMPEXP_CORE wxMacCarbonPrintData : public wxPrintNativeDataBase
 {
 public :
                             wxMacCarbonPrintData() ;
index 8d643fe2dba6e1d7fa6c95305b7eb693b6a7fd2b..4a1d6d7265fcc98fc5f6cd3dc802e5a5e143f6de 100644 (file)
@@ -16,7 +16,7 @@
 
 struct MacTimerInfo;
 
-class WXDLLEXPORT wxCarbonTimerImpl : public wxTimerImpl
+class WXDLLIMPEXP_CORE wxCarbonTimerImpl : public wxTimerImpl
 {
 public:
     wxCarbonTimerImpl(wxTimer *timer);
index c7e6e4bd0e48e2207ffa88f085698280339d9bd2..ac0747ff245bee54c5f404afcc39d3ac0126e846 100644 (file)
@@ -17,7 +17,7 @@ class WXDLLIMPEXP_FWD_CORE wxBitmap ;
 
 class WXDLLIMPEXP_FWD_CORE wxRadioButton ;
 
-class WXDLLEXPORT wxRadioBox: public wxControl, public wxRadioBoxBase
+class WXDLLIMPEXP_CORE wxRadioBox: public wxControl, public wxRadioBoxBase
 {
     DECLARE_DYNAMIC_CLASS(wxRadioBox)
 public:
index e89c89ae377a9b9b42c617664aa5975be7bfbb6a..6514d218e7eeb4d5bed1d4f093cd4fb601679a62 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_RADIOBUT_H_
 #define _WX_RADIOBUT_H_
 
-class WXDLLEXPORT wxRadioButton: public wxControl
+class WXDLLIMPEXP_CORE wxRadioButton: public wxControl
 {
   DECLARE_DYNAMIC_CLASS(wxRadioButton)
  protected:
@@ -56,9 +56,9 @@ public:
 #if 0
 class WXDLLIMPEXP_FWD_CORE wxBitmap ;
 
-WXDLLEXPORT_DATA(extern const wxChar) wxBitmapRadioButtonNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const wxChar) wxBitmapRadioButtonNameStr[];
 
-class WXDLLEXPORT wxBitmapRadioButton: public wxRadioButton
+class WXDLLIMPEXP_CORE wxBitmapRadioButton: public wxRadioButton
 {
   DECLARE_DYNAMIC_CLASS(wxBitmapRadioButton)
  protected:
index f04cdef8d9c66ebe8977bbbdb69e5e6d318b8d2a..480109a8ee644169f061fa849c79ad28ab764449 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/list.h"
 
-class WXDLLEXPORT wxRegion : public wxRegionWithCombine
+class WXDLLIMPEXP_CORE wxRegion : public wxRegionWithCombine
 {
 public:
     wxRegion(long x, long y, long w, long h);
@@ -59,7 +59,7 @@ private:
     friend class WXDLLIMPEXP_FWD_CORE wxRegionIterator;
 };
 
-class WXDLLEXPORT wxRegionIterator : public wxObject
+class WXDLLIMPEXP_CORE wxRegionIterator : public wxObject
 {
 public:
     wxRegionIterator();
index 80db4ce694c5e99106ad59e9a75ccb320d4c7568..b699adafcbae3f1e5a0323ad1d162d76562498fd 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_SCROLBAR_H_
 
 // Scrollbar item
-class WXDLLEXPORT wxScrollBar : public wxScrollBarBase
+class WXDLLIMPEXP_CORE wxScrollBar : public wxScrollBarBase
 {
 public:
     wxScrollBar() { m_pageSize = 0; m_viewSize = 0; m_objectSize = 0; }
index 4cd1a1d78adbed4b21040e00540de15df22b7738..04dc08a6d034d67ac584f862b28a5d0b3b69c9e6 100644 (file)
 #include "wx/slider.h"
 #include "wx/stattext.h"
 
-WXDLLEXPORT_DATA(extern const char) wxSliderNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxSliderNameStr[];
 
 // Slider
-class WXDLLEXPORT wxSlider: public wxSliderBase
+class WXDLLIMPEXP_CORE wxSlider: public wxSliderBase
 {
     DECLARE_DYNAMIC_CLASS(wxSlider)
 
index 2dc329409e8485ec6e67a834147cf7e8674c557f..f7cdb58006e9266061f8a2797bdbf6413991273d 100644 (file)
@@ -25,7 +25,7 @@
     wxSP_WRAP:         value wraps at either end
  */
 
-class WXDLLEXPORT wxSpinButton : public wxSpinButtonBase
+class WXDLLIMPEXP_CORE wxSpinButton : public wxSpinButtonBase
 {
 public:
     // construction
index 5a77b2a9f7953594a043c3dfa393a925599e581e..38fd7a9bffd6a9a098c258ae8cc52cb570e4018a 100644 (file)
@@ -33,7 +33,7 @@ class WXDLLIMPEXP_FWD_CORE wxSpinCtrlButton;
 // wxSpinCtrl is a combination of wxTextCtrl and wxSpinButton
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSpinCtrl : public wxControl
+class WXDLLIMPEXP_CORE wxSpinCtrl : public wxControl
 {
 public:
     wxSpinCtrl() { Init(); }
@@ -125,7 +125,7 @@ private:
 
 #include "wx/textctrl.h"
 
-class WXDLLEXPORT wxSpinCtrl : public wxTextCtrl
+class WXDLLIMPEXP_CORE wxSpinCtrl : public wxTextCtrl
 {
 public:
     wxSpinCtrl() { Init(); }
index 94c34fd41aa4ead8b250df2c9721db0151e99eaf..eba88ccc4302f8fe75c347a80b9b055160959c96 100644 (file)
@@ -15,7 +15,7 @@
 
 class wxMacSearchFieldControl;
 
-class WXDLLEXPORT wxSearchCtrl : public wxSearchCtrlBase
+class WXDLLIMPEXP_CORE wxSearchCtrl : public wxSearchCtrlBase
 {
 public:
     // creation
index 4841947522635ab26edbf377b1a776de826bcde5..17d38360f5e00d386e2cf9152bf139338683cf0d 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/icon.h"
 
-class WXDLLEXPORT wxStaticBitmap: public wxStaticBitmapBase
+class WXDLLIMPEXP_CORE wxStaticBitmap: public wxStaticBitmapBase
 {
   DECLARE_DYNAMIC_CLASS(wxStaticBitmap)
  public:
index 92b781ee5bc05cee0846dc1374a1c9ce372e7087..7c1c2204cf2c0adcd3564bf03d8bf406f2c1c3b7 100644 (file)
 
 #include "wx/control.h"
 
-WXDLLEXPORT_DATA(extern const char) wxStaticBoxNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxStaticBoxNameStr[];
 
 // Group box
-class WXDLLEXPORT wxStaticBox: public wxControl
+class WXDLLIMPEXP_CORE wxStaticBox: public wxControl
 {
   DECLARE_DYNAMIC_CLASS(wxStaticBox)
 
index 53e95d10841a3cd91f0e3fad02752fd36d83dd20..29de9f2a54372ec41f385e592d30a05fbd2e2b06 100644 (file)
@@ -17,7 +17,7 @@ class wxStaticBox;
 // wxStaticLine
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStaticLine : public wxStaticLineBase
+class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase
 {
 public:
     // constructors and pseudo-constructors
index 2935319c47201d5d7a03874fd150dcd195b1427c..fc69ab3457c57a5e43eaa57ce8f7bb95caa5ede2 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_STATTEXT_H_
 #define _WX_STATTEXT_H_
 
-class WXDLLEXPORT wxStaticText: public wxStaticTextBase
+class WXDLLIMPEXP_CORE wxStaticText: public wxStaticTextBase
 {
 public:
     wxStaticText() { }
index 1ff5901db22890334ad1989a526215b302ddf963..81ee10257cbc97756f7d8ad37f71f543b1c88c1c 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef _WX_STATBAR_H_
 #define _WX_STATBAR_H_
 
-class WXDLLEXPORT wxStatusBarMac : public wxStatusBarGeneric
+class WXDLLIMPEXP_CORE wxStatusBarMac : public wxStatusBarGeneric
 {
     DECLARE_DYNAMIC_CLASS(wxStatusBarMac)
 
index 0be13cddd1cb8bc7dc4869efd4899103c3cc313a..30cf54fbc17941490994a6b90f29d7f671f33845 100644 (file)
@@ -25,7 +25,7 @@ class wxImageList;
 #define wxTAB_HITTEST_ONLABEL           4
 #define wxTAB_HITTEST_ONITEM            6
 
-class WXDLLEXPORT wxTabCtrl: public wxControl
+class WXDLLIMPEXP_CORE wxTabCtrl: public wxControl
 {
   DECLARE_DYNAMIC_CLASS(wxTabCtrl)
  public:
@@ -117,7 +117,7 @@ protected:
 DECLARE_EVENT_TABLE()
 };
 
-class WXDLLEXPORT wxTabEvent : public wxNotifyEvent
+class WXDLLIMPEXP_CORE wxTabEvent : public wxNotifyEvent
 {
 public:
     wxTabEvent(wxEventType commandType = wxEVT_NULL, int id = 0,
index ad99369e1f350f654c3cbd6ef9e00597473548a4..a2f5956328ef103adb87e6eb0991c7a91254ab7e 100644 (file)
@@ -29,7 +29,7 @@
 class wxMacTextControl;
 
 
-class WXDLLEXPORT wxTextCtrl: public wxTextCtrlBase
+class WXDLLIMPEXP_CORE wxTextCtrl: public wxTextCtrlBase
 {
   DECLARE_DYNAMIC_CLASS(wxTextCtrl)
 
index 37ff8bbe16f8271a292c6f898f0df423611a8764..0091fbc8f0809af89f3ae750e0a133c6733d58ff 100644 (file)
 #ifndef _WX_TOGGLEBUTTON_H_
 #define _WX_TOGGLEBUTTON_H_
 
-WXDLLEXPORT_DATA(extern const char) wxCheckBoxNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxCheckBoxNameStr[];
 
 
-class WXDLLEXPORT wxBitmapToggleButton : public wxToggleButtonBase
+class WXDLLIMPEXP_CORE wxBitmapToggleButton : public wxToggleButtonBase
 {
 public:
     wxBitmapToggleButton() {}
@@ -60,7 +60,7 @@ private:
 };
 
 
-class WXDLLEXPORT wxToggleButton : public wxToggleButtonBase
+class WXDLLIMPEXP_CORE wxToggleButton : public wxToggleButtonBase
 {
 public:
     wxToggleButton() {}
index 95987b58a09c649ff59600d52a88edd30a9aef56..efe961cdffb7856caf44d3b24d5ff58d88f47a5e 100644 (file)
@@ -17,9 +17,9 @@
 #include "wx/tbarbase.h"
 #include "wx/dynarray.h"
 
-WXDLLEXPORT_DATA(extern const char) wxToolBarNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxToolBarNameStr[];
 
-class WXDLLEXPORT wxToolBar: public wxToolBarBase
+class WXDLLIMPEXP_CORE wxToolBar: public wxToolBarBase
 {
   DECLARE_DYNAMIC_CLASS(wxToolBar)
  public:
index 1231f08f0e6368fb9cbff06ce59ae0af0cae9d7d..d5e11e79ce664105e8fa3ae16e93191206545a62 100644 (file)
@@ -16,7 +16,7 @@
 // wxTopLevelWindowMac
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTopLevelWindowMac : public wxTopLevelWindowBase
+class WXDLLIMPEXP_CORE wxTopLevelWindowMac : public wxTopLevelWindowBase
 {
 public:
     // constructors and such
index 1e37d9f3d4ca14396f607e4634c05264ccaea466..a8c92b288ffb9d85c60b45bbbb8b01b9378bf8f1 100644 (file)
@@ -69,7 +69,7 @@ enum {
     };
 #endif
 
-class WXDLLEXPORT wxTreeItem: public wxObject
+class WXDLLIMPEXP_CORE wxTreeItem: public wxObject
 {
     DECLARE_DYNAMIC_CLASS(wxTreeItem)
 
@@ -109,7 +109,7 @@ public:
     inline void SetData(long data) { m_data = data; }
 };
 
-class WXDLLEXPORT wxTreeCtrl: public wxControl
+class WXDLLIMPEXP_CORE wxTreeCtrl: public wxControl
 {
 public:
    /*
@@ -252,7 +252,7 @@ protected:
  wxEVT_COMMAND_TREE_KEY_DOWN
 */
 
-class WXDLLEXPORT wxTreeEvent: public wxCommandEvent
+class WXDLLIMPEXP_CORE wxTreeEvent: public wxCommandEvent
 {
     DECLARE_DYNAMIC_CLASS(wxTreeEvent)
 
index 41622fe2426f2a9c5d0b0d923ec51b0eda842b52..0092b70fc799dad55d15abfbe65d8ce6cab81f3a 100644 (file)
@@ -21,7 +21,7 @@ class WXDLLIMPEXP_FWD_CORE wxNonOwnedWindow;
 
 class WXDLLIMPEXP_FWD_CORE wxMacControl ;
 
-class WXDLLEXPORT wxWindowMac: public wxWindowBase
+class WXDLLIMPEXP_CORE wxWindowMac: public wxWindowBase
 {
     DECLARE_DYNAMIC_CLASS(wxWindowMac)
 
index 465846e8d9ffae9d1a7effe17abb11c8c7538b96..da6c5da78f05d055d157970f2c693b8cc06a0bef 100644 (file)
@@ -32,7 +32,7 @@
 //  at a certain coordinate and angle within another parent picture.
 //  At all times m_isIdentity is set if the matrix itself is an Identity matrix.
 //  It is used where possible to optimize calculations.
-class WXDLLEXPORT wxTransformMatrix: public wxObject
+class WXDLLIMPEXP_CORE wxTransformMatrix: public wxObject
 {
 public:
     wxTransformMatrix(void);
index c222caa135b45c37576453cb1fd4068773bb699d..00fcd5995a0c334c4181ef94a63ff3fadc0f2227 100644 (file)
@@ -40,7 +40,7 @@ WX_DECLARE_EXPORTED_LIST(wxMenuItem, wxMenuItemList);
 // wxMenu
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenuBase : public wxEvtHandler
+class WXDLLIMPEXP_CORE wxMenuBase : public wxEvtHandler
 {
 public:
     // create a menu
@@ -384,7 +384,7 @@ protected:
 // wxMenuBar
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenuBarBase : public wxWindow
+class WXDLLIMPEXP_CORE wxMenuBarBase : public wxWindow
 {
 public:
     // default ctor
index f8cf44752a27b4944bd754bc6d6586319b84cc87..677aa3146701bd11b268c20135e3f0772bc57afd 100644 (file)
@@ -35,7 +35,7 @@ class WXDLLIMPEXP_FWD_CORE wxMenu;
 // menu or a separator
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenuItemBase : public wxObject
+class WXDLLIMPEXP_CORE wxMenuItemBase : public wxObject
 {
 public:
     // creation
index c6462d41a684cb1580094f0c6274e552fac2a941..686137a5a2bd9a03033d29a29e452015ee0686dc 100644 (file)
@@ -26,7 +26,7 @@ class WXDLLIMPEXP_FWD_CORE wxEventLoop;
 // wxApp
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxApp: public wxAppBase
+class WXDLLIMPEXP_CORE wxApp: public wxAppBase
 {
 public:
     wxApp();
index 0d14a1cc51ce009ee430100830fb2a5e7273a89f..86bc9a8657fe3de5666b0492dcc08daca5ee6bdd 100644 (file)
@@ -23,7 +23,7 @@ struct bitmap_t;
 // wxBitmap
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmap: public wxBitmapBase
+class WXDLLIMPEXP_CORE wxBitmap: public wxBitmapBase
 {
 public:
     wxBitmap() {}
index b48433e9d3da300355977fdb35b37665106d279a..27d2d0a605df21c6ff2c9feea218e8c2d5c18fb2 100644 (file)
@@ -27,7 +27,7 @@ class WXDLLIMPEXP_FWD_CORE wxBrush;
 // wxBrush
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBrush : public wxBrushBase
+class WXDLLIMPEXP_CORE wxBrush : public wxBrushBase
 {
 public:
     wxBrush() {}
index 307cc8de0bb52c802de69947b72792c175f952c8..4a7e56896e48e9c1cfa47a357b0702344bc63a8d 100644 (file)
@@ -22,7 +22,7 @@
 // wxClipboard
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxClipboard : public wxClipboardBase
+class WXDLLIMPEXP_CORE wxClipboard : public wxClipboardBase
 {
 public:
     wxClipboard() {}
index 7e2ebb3c518218ccc5e6a19eb1e15060d094064a..31109db1528765fd9b396e40186a64a902b95560 100644 (file)
@@ -19,7 +19,7 @@ class MGLCursor;
 // wxCursor
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxCursor : public wxGDIObject
+class WXDLLIMPEXP_CORE wxCursor : public wxGDIObject
 {
 public:
 
index 05251f113c4dc4921016a2c857476ca88e535a98..39b183fa8a86bf36b5c1916eab39d9ac681c6995 100644 (file)
@@ -45,7 +45,7 @@ class MGLDevCtx;
 class MGLRegion;
 struct font_t;
 
-class WXDLLEXPORT wxDC : public wxDCBase
+class WXDLLIMPEXP_CORE wxDC : public wxDCBase
 {
     DECLARE_DYNAMIC_CLASS(wxDC)
 
index 0011f1ca7287c84a79e8ab2c3079f5b400a9c5a5..6817219bff2c72effe6f31ed884323bfdc382b3e 100644 (file)
@@ -25,7 +25,7 @@ class WXDLLIMPEXP_FWD_CORE wxWindowMGL;
 // wxWindowDC
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowDC : public wxDC
+class WXDLLIMPEXP_CORE wxWindowDC : public wxDC
 {
 public:
     wxWindowDC() {}
@@ -44,7 +44,7 @@ private:
 // wxClientDC
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxClientDC : public wxWindowDC
+class WXDLLIMPEXP_CORE wxClientDC : public wxWindowDC
 {
 public:
     wxClientDC() : wxWindowDC() {}
@@ -58,7 +58,7 @@ private:
 // wxPaintDC
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPaintDC : public wxClientDC
+class WXDLLIMPEXP_CORE wxPaintDC : public wxClientDC
 {
 public:
     wxPaintDC() : wxClientDC() {}
index 7bd0f9ce85413122732fa9e85937500eb24b36a3..c02989c3ce41d5d880c99780b381d49c694fb129 100644 (file)
@@ -23,7 +23,7 @@ class WXDLLIMPEXP_FWD_CORE wxMemoryDC;
 // wxMemoryDC
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMemoryDC : public wxDC, public wxMemoryDCBase
+class WXDLLIMPEXP_CORE wxMemoryDC : public wxDC, public wxMemoryDCBase
 {
 public:
     wxMemoryDC() { Init(); }
index a60a4f2cac872c7fe6e53fb294c3125d72c5558c..bfc9985a7c9a1585922711f455ae0981132b6075 100644 (file)
@@ -22,7 +22,7 @@ class WXDLLIMPEXP_FWD_CORE wxScreenDC;
 // wxScreenDC
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxScreenDC: public wxDC
+class WXDLLIMPEXP_CORE wxScreenDC: public wxDC
 {
 public:
     wxScreenDC();
index 7d9c9ba172dac38c52f42fe94772341b73268227..06f4002930437f6b792101ccbcbc37cdfe95ea21 100644 (file)
@@ -26,7 +26,7 @@ struct font_t;
 // wxFont
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFont : public wxFontBase
+class WXDLLIMPEXP_CORE wxFont : public wxFontBase
 {
 public:
     // ctors and such
index 72fb6178caa6376c2ffaffc96e46c4bba60eebae..31fde89c0428f1d5c566891019f20c668753e8d7 100644 (file)
@@ -27,7 +27,7 @@ struct palette_t;
 // wxPalette
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPalette : public wxPaletteBase
+class WXDLLIMPEXP_CORE wxPalette : public wxPaletteBase
 {
 public:
     wxPalette();
index 0c1fcecfc9b070157fa37c9d7ad01a882b5a30c3..3be08b3293c8e0234e187b14b681f284bf75e3c6 100644 (file)
@@ -27,7 +27,7 @@ class WXDLLIMPEXP_FWD_CORE wxPen;
 // wxPen
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPen : public wxPenBase
+class WXDLLIMPEXP_CORE wxPen : public wxPenBase
 {
 public:
     wxPen() {}
index 3f7e4d77be2190bda93cdb0ff61c077ea6a3a8d8..8d524187476fc68d740b706f257d1f658b70cb7c 100644 (file)
@@ -15,7 +15,7 @@
 // wxPopupWindow
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPopupWindow : public wxPopupWindowBase
+class WXDLLIMPEXP_CORE wxPopupWindow : public wxPopupWindowBase
 {
 public:
     wxPopupWindow() { }
index 838ba5e118fa41a49db63a4799383bc0c550767a..472f33ebf505748f17aa33a1c609f3da54a81b39 100644 (file)
@@ -15,7 +15,7 @@
 
 class MGLRegion;
 
-class WXDLLEXPORT wxRegion : public wxRegionBase
+class WXDLLIMPEXP_CORE wxRegion : public wxRegionBase
 {
 public:
     wxRegion();
@@ -68,7 +68,7 @@ private:
 
 WX_DECLARE_EXPORTED_LIST(wxRect, wxRegionRectList);
 
-class WXDLLEXPORT wxRegionIterator : public wxObject
+class WXDLLIMPEXP_CORE wxRegionIterator : public wxObject
 {
 public:
     wxRegionIterator(void);
index 738bc927fb02cce587f1365a4caa8fc303346c5a..e47e113bfc62e01cd84299ca3ae2b3c00dcc7fad 100644 (file)
@@ -23,7 +23,7 @@ class MGLDevCtx;
 // wxWindow declaration for MGL
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowMGL : public wxWindowBase
+class WXDLLIMPEXP_CORE wxWindowMGL : public wxWindowBase
 {
 public:
     wxWindowMGL() { Init(); }
index 7753ac9d6872284c92d1c240fa856ff0081de641..5ae1a3a2fabf0e4a239bdc79952929c3df811004 100644 (file)
@@ -16,7 +16,7 @@
 #include "wx/string.h"
 #include "wx/event.h"
 
-class WXDLLEXPORT wxAcceleratorTable: public wxObject
+class WXDLLIMPEXP_CORE wxAcceleratorTable: public wxObject
 {
     DECLARE_DYNAMIC_CLASS(wxAcceleratorTable)
 public:
@@ -34,7 +34,7 @@ public:
     wxAcceleratorEntry* GetEntries() const;
 };
 
-WXDLLEXPORT_DATA(extern wxAcceleratorTable) wxNullAcceleratorTable;
+WXDLLIMPEXP_DATA_CORE(extern wxAcceleratorTable) wxNullAcceleratorTable;
 
 #endif
 // _WX_ACCEL_H_
index a1c2bdc9641cf2da8b72cd43beb5051f616023f2..eef7c9e05429d2ae196d7191857c668150be780b 100644 (file)
@@ -38,7 +38,7 @@ class WXDLLIMPEXP_FWD_CORE wxPerDisplayData;
 
 WX_DECLARE_VOIDPTR_HASH_MAP( wxPerDisplayData*, wxPerDisplayDataMap );
 
-class WXDLLEXPORT wxApp : public wxAppBase
+class WXDLLIMPEXP_CORE wxApp : public wxAppBase
 {
     DECLARE_DYNAMIC_CLASS(wxApp)
 
index 68215c95370a7cce2b9b4eb01caeae639a241cc7..d923c768709851dc14d0605ac279901fd4191131 100644 (file)
@@ -16,7 +16,7 @@
 
 #define wxDEFAULT_BUTTON_MARGIN 4
 
-class WXDLLEXPORT wxBitmapButton: public wxBitmapButtonBase
+class WXDLLIMPEXP_CORE wxBitmapButton: public wxBitmapButtonBase
 {
     DECLARE_DYNAMIC_CLASS(wxBitmapButton)
 public:
index 12f1316bca6844c19245cb6fa2d42eda79ea3b71..2aa5178bfc4016a0ca7eca09446c66e3e0c7cab9 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/defs.h"
 #include "wx/bitmap.h"
 
-class WXDLLEXPORT wxBitmapCache
+class WXDLLIMPEXP_CORE wxBitmapCache
 {
 public:
     wxBitmapCache()
index 58fa70b3c654755389e81c6e2e1554c85e322723..0ac026222d906b083de1fdc1a1da6d99a13c0901 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_BUTTON_H_
 
 // Pushbutton
-class WXDLLEXPORT wxButton: public wxButtonBase
+class WXDLLIMPEXP_CORE wxButton: public wxButtonBase
 {
 public:
     wxButton() { }
index 88af56a43fabf8be6a9e6e58f19d3318a741b97e..8676ef2fdd433b048d72dde819e03d42ef7e6b3e 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_CHECKBOX_H_
 
 // Checkbox item (single checkbox)
-class WXDLLEXPORT wxCheckBox: public wxCheckBoxBase
+class WXDLLIMPEXP_CORE wxCheckBox: public wxCheckBoxBase
 {
     DECLARE_DYNAMIC_CLASS(wxCheckBox)
 
index 7532c50ba256c8f099463fa5f0f93273a4cb1840..32fc35fda6ecc89d7303775f2fcc86a95d19bc51 100644 (file)
@@ -22,7 +22,7 @@
 #endif
 
 // Choice item
-class WXDLLEXPORT wxChoice: public wxChoiceBase
+class WXDLLIMPEXP_CORE wxChoice: public wxChoiceBase
 {
     DECLARE_DYNAMIC_CLASS(wxChoice)
 
index d0aa3db2749fefb14e98f8e56379db1bb4a60de4..6c2a0f87471ccb034d819806a39578360018964f 100644 (file)
@@ -22,16 +22,16 @@ struct wxDataIdToDataObject;
 WX_DECLARE_LIST(wxDataObject, wxDataObjectList);
 WX_DECLARE_LIST(wxDataIdToDataObject, wxDataIdToDataObjectList);
 
-WXDLLEXPORT bool wxOpenClipboard();
-WXDLLEXPORT bool wxClipboardOpen();
-WXDLLEXPORT bool wxCloseClipboard();
-WXDLLEXPORT bool wxEmptyClipboard();
-WXDLLEXPORT bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat);
-WXDLLEXPORT bool wxSetClipboardData(wxDataFormat dataFormat, wxObject *obj, int width = 0, int height = 0);
-WXDLLEXPORT wxObject* wxGetClipboardData(wxDataFormat dataFormat, long *len = NULL);
-WXDLLEXPORT wxDataFormat wxEnumClipboardFormats(wxDataFormat dataFormat);
-WXDLLEXPORT wxDataFormat wxRegisterClipboardFormat(char *formatName);
-WXDLLEXPORT bool wxGetClipboardFormatName(wxDataFormat dataFormat, char *formatName, int maxCount);
+WXDLLIMPEXP_CORE bool wxOpenClipboard();
+WXDLLIMPEXP_CORE bool wxClipboardOpen();
+WXDLLIMPEXP_CORE bool wxCloseClipboard();
+WXDLLIMPEXP_CORE bool wxEmptyClipboard();
+WXDLLIMPEXP_CORE bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat);
+WXDLLIMPEXP_CORE bool wxSetClipboardData(wxDataFormat dataFormat, wxObject *obj, int width = 0, int height = 0);
+WXDLLIMPEXP_CORE wxObject* wxGetClipboardData(wxDataFormat dataFormat, long *len = NULL);
+WXDLLIMPEXP_CORE wxDataFormat wxEnumClipboardFormats(wxDataFormat dataFormat);
+WXDLLIMPEXP_CORE wxDataFormat wxRegisterClipboardFormat(char *formatName);
+WXDLLIMPEXP_CORE bool wxGetClipboardFormatName(wxDataFormat dataFormat, char *formatName, int maxCount);
 
 //-----------------------------------------------------------------------------
 // wxClipboard
index e7d12c14b28a134648200ed457a66512b3c4b477..01a825a2c6031b49e9e2bd15fb026545d13a3351 100644 (file)
@@ -16,7 +16,7 @@
 #include "wx/string.h"
 
 // Colour
-class WXDLLEXPORT wxColour : public wxColourBase
+class WXDLLIMPEXP_CORE wxColour : public wxColourBase
 {
     DECLARE_DYNAMIC_CLASS(wxColour)
 public:
index 8b3e8b9e453d0007175c78b4e0ff484a6152980b..63eb9018e49eef56e299eefce39520908b9369f9 100644 (file)
@@ -16,7 +16,7 @@
 #include "wx/textentry.h"
 
 // Combobox item
-class WXDLLEXPORT wxComboBox : public wxChoice,
+class WXDLLIMPEXP_CORE wxComboBox : public wxChoice,
                                public wxTextEntry
 {
 public:
index f42138701a4fd8f7b9ad5dc8f8fa7eb55f382ce0..a212c38f56c63598f778f9c4c5ba768a42dd13bf 100644 (file)
@@ -17,7 +17,7 @@
 #include "wx/validate.h"
 
 // General item class
-class WXDLLEXPORT wxControl: public wxControlBase
+class WXDLLIMPEXP_CORE wxControl: public wxControlBase
 {
     DECLARE_ABSTRACT_CLASS(wxControl)
 
index ccb7837598f5fb63d806befce4ec4f2a01b30f9e..9372b60e2b049bdc973849c0859cf311638b685d 100644 (file)
@@ -18,7 +18,7 @@
 class WXDLLIMPEXP_FWD_CORE wxImage;
 
 // Cursor
-class WXDLLEXPORT wxCursor : public wxGDIObject
+class WXDLLIMPEXP_CORE wxCursor : public wxGDIObject
 {
 public:
     wxCursor();
@@ -57,7 +57,7 @@ private:
     DECLARE_DYNAMIC_CLASS(wxCursor)
 };
 
-extern WXDLLEXPORT void wxSetCursor(const wxCursor& cursor);
+extern WXDLLIMPEXP_CORE void wxSetCursor(const wxCursor& cursor);
 
 #endif
 // _WX_CURSOR_H_
index d1065a2166e9ad30b3adb585f296cffb3f63c798..1163f9c1adb0c5020246b75834314935678d12bc 100644 (file)
@@ -18,7 +18,7 @@
 // wxMotifDCImpl
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMotifDCImpl : public wxDCImpl
+class WXDLLIMPEXP_CORE wxMotifDCImpl : public wxDCImpl
 {
 public:
     wxMotifDCImpl(wxDC *owner);
index cdab848448c46c00505f1d178ed69d9db429448b..3e4899f2650717b0a69bd6669bcd7f5e42f839b2 100644 (file)
@@ -20,7 +20,7 @@ class WXDLLIMPEXP_FWD_CORE wxWindow;
 // wxWindowDCImpl
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowDCImpl : public wxMotifDCImpl
+class WXDLLIMPEXP_CORE wxWindowDCImpl : public wxMotifDCImpl
 {
 public:
     wxWindowDCImpl(wxDC *owner);
@@ -158,7 +158,7 @@ protected:
     DECLARE_DYNAMIC_CLASS(wxWindowDCImpl)
 };
 
-class WXDLLEXPORT wxPaintDCImpl: public wxWindowDCImpl
+class WXDLLIMPEXP_CORE wxPaintDCImpl: public wxWindowDCImpl
 {
 public:
     wxPaintDCImpl(wxDC *owner) : wxWindowDCImpl(owner) { }
@@ -169,7 +169,7 @@ public:
     DECLARE_DYNAMIC_CLASS(wxPaintDCImpl)
 };
 
-class WXDLLEXPORT wxClientDCImpl: public wxWindowDCImpl
+class WXDLLIMPEXP_CORE wxClientDCImpl: public wxWindowDCImpl
 {
 public:
     wxClientDCImpl(wxDC *owner) : wxWindowDCImpl(owner) { }
index 4980bf3938e4f4c44752818abe18da2d211db60a..ba338f3dcd34280bf8bfdfa3ea7c41f3c2635402 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/motif/dc.h"
 
-class WXDLLEXPORT wxPrinterDC : public wxMotifDCImpl
+class WXDLLIMPEXP_CORE wxPrinterDC : public wxMotifDCImpl
 {
 public:
     // Create a printer DC
index 18cea883ac5cf38eae6881196981fbfe5f3c6dd2..58fe2381c6efac7c1b60bb6b47d17875459292f8 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/motif/dcclient.h"
 
-class WXDLLEXPORT wxScreenDCImpl : public wxWindowDCImpl
+class WXDLLIMPEXP_CORE wxScreenDCImpl : public wxWindowDCImpl
 {
 public:
     // Create a DC representing the whole screen
index 1e6821d5c10cea892c4162b1a631f10bffcebf58..a0a3247b9f39ffa04942ecb68852d6b0b1b8fedc 100644 (file)
@@ -15,7 +15,7 @@
 class WXDLLIMPEXP_FWD_CORE wxEventLoop;
 
 // Dialog boxes
-class WXDLLEXPORT wxDialog : public wxDialogBase
+class WXDLLIMPEXP_CORE wxDialog : public wxDialogBase
 {
 public:
     wxDialog();
index 3e28339d1894846b8f04bc6f2a80a221d251e56a..ba22792fbfccfe9a6be09aa42264083818fd28bf 100644 (file)
@@ -36,7 +36,7 @@ class WXDLLIMPEXP_FWD_CORE wxDropSource;
 // wxDropTarget
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDropTarget: public wxObject
+class WXDLLIMPEXP_CORE wxDropTarget: public wxObject
 {
 public:
 
@@ -59,7 +59,7 @@ public:
 // wxTextDropTarget
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTextDropTarget: public wxDropTarget
+class WXDLLIMPEXP_CORE wxTextDropTarget: public wxDropTarget
 {
 public:
 
@@ -77,7 +77,7 @@ protected:
 // wxPrivateDropTarget
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPrivateDropTarget: public wxDropTarget
+class WXDLLIMPEXP_CORE wxPrivateDropTarget: public wxDropTarget
 {
 public:
 
@@ -107,7 +107,7 @@ private:
 // A drop target which accepts files (dragged from File Manager or Explorer)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileDropTarget: public wxDropTarget
+class WXDLLIMPEXP_CORE wxFileDropTarget: public wxDropTarget
 {
 public:
 
@@ -136,7 +136,7 @@ enum wxDragResult
         wxDragCancel    // the operation was cancelled by user (not an error)
 };
 
-class WXDLLEXPORT wxDropSource: public wxObject
+class WXDLLIMPEXP_CORE wxDropSource: public wxObject
 {
 public:
 
index 3b68253eb72e164087b04fd3867446e00ef9970f..55c216e729fce90c8c643513eb35022847461805 100644 (file)
@@ -16,7 +16,7 @@
 // wxFileDialog
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
+class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase
 {
     DECLARE_DYNAMIC_CLASS(wxFileDialog)
 public:
index 7e52ecd46752aaed4013684d1f79969f6913f32c..9aa7129aa399b813ebbaef81402c27e22be1d720 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_MOTIF_FRAME_H_
 #define _WX_MOTIF_FRAME_H_
 
-class WXDLLEXPORT wxFrame : public wxFrameBase
+class WXDLLIMPEXP_CORE wxFrame : public wxFrameBase
 {
 public:
     wxFrame() { Init(); }
index a7ba4a6607ae0fe7ee8b0adee05850c7d5d53f85..3183875824535ef666afb5a976fe8f4c31e20a2e 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_GAUGE_H_
 
 // Group box
-class WXDLLEXPORT wxGauge : public wxGaugeBase
+class WXDLLIMPEXP_CORE wxGauge : public wxGaugeBase
 {
     DECLARE_DYNAMIC_CLASS(wxGauge)
 
index 73a295d95df576bd096ac46ec0979f365747bbce..e2aef577cbdcdc6a1e9b562397db1afec7c45074 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/bitmap.h"
 
 // Icon
-class WXDLLEXPORT wxIcon : public wxBitmap
+class WXDLLIMPEXP_CORE wxIcon : public wxBitmap
 {
 public:
     wxIcon();
index 9b90c9fcc68760f9e76ea2b2beb553992eec8d06..6a7f3bb513696a3970956d153495440105a37e79 100644 (file)
@@ -19,7 +19,7 @@
 class WXDLLIMPEXP_FWD_BASE wxArrayInt;
 
 // List box item
-class WXDLLEXPORT wxListBox: public wxListBoxBase
+class WXDLLIMPEXP_CORE wxListBox: public wxListBoxBase
 {
     DECLARE_DYNAMIC_CLASS(wxListBox)
 
index fb2621f5a397064a2b1115ac3c9d0ceb9c6427c9..8d8ab5f2ad9ebfbd7d5a7693581529a5311fc031 100644 (file)
@@ -26,7 +26,7 @@ but wxMDIChildFrame::GetParent should return the parent frame.
 class WXDLLIMPEXP_FWD_CORE wxMDIClientWindow;
 class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
 
-class WXDLLEXPORT wxMDIParentFrame: public wxFrame
+class WXDLLIMPEXP_CORE wxMDIParentFrame: public wxFrame
 {
     DECLARE_DYNAMIC_CLASS(wxMDIParentFrame)
 
@@ -112,7 +112,7 @@ protected:
     DECLARE_EVENT_TABLE()
 };
 
-class WXDLLEXPORT wxMDIChildFrame: public wxFrame
+class WXDLLIMPEXP_CORE wxMDIChildFrame: public wxFrame
 {
     DECLARE_DYNAMIC_CLASS(wxMDIChildFrame)
 
@@ -205,7 +205,7 @@ protected:
 * of the children. Phew! So the children are sort of 'adopted'...
 */
 
-class WXDLLEXPORT wxMDIClientWindow: public wxNotebook
+class WXDLLIMPEXP_CORE wxMDIClientWindow: public wxNotebook
 {
     DECLARE_DYNAMIC_CLASS(wxMDIClientWindow)
 
index a649a04740a85f2821f86ef6e26cdeafb819681e..1ee9fcc9ec001568a32ea556cfcab21a7db3d809 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "wx/frame.h"
 
-class WXDLLEXPORT wxMiniFrame: public wxFrame {
+class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame {
 
     DECLARE_DYNAMIC_CLASS(wxMiniFrame)
 
index 08001bd7ab51108fd00617206278308dc895983f..814a071c1c03098b406dc1f079fd0e312995bb6e 100644 (file)
@@ -17,7 +17,7 @@
 // Message box dialog
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMessageDialog : public wxMessageDialogBase
+class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogBase
 {
 public:
     wxMessageDialog(wxWindow *parent,
index 9a6575ef81f2dc378c544e25994790747195b77a..6100b45098c16b62079dc61bf59a85f180ff80a8 100644 (file)
@@ -18,7 +18,7 @@
 * Represents the printer: manages printing a wxPrintout object
 */
 
-class WXDLLEXPORT wxPrinter: public wxPrinterBase
+class WXDLLIMPEXP_CORE wxPrinter: public wxPrinterBase
 {
     DECLARE_DYNAMIC_CLASS(wxPrinter)
 
@@ -36,7 +36,7 @@ public:
 * Programmer creates an object of this class to preview a wxPrintout.
 */
 
-class WXDLLEXPORT wxPrintPreview: public wxPrintPreviewBase
+class WXDLLIMPEXP_CORE wxPrintPreview: public wxPrintPreviewBase
 {
     DECLARE_CLASS(wxPrintPreview)
 
index b717a324027a2eba6c9bc9ecb900b8af37591946..cd615d79dbbb717614cf7ac65426f052504cb215 100644 (file)
@@ -13,7 +13,7 @@
 
 #include "wx/private/timer.h"
 
-class WXDLLEXPORT wxMotifTimerImpl : public wxTimerImpl
+class WXDLLIMPEXP_CORE wxMotifTimerImpl : public wxTimerImpl
 {
 public:
     wxMotifTimerImpl(wxTimer* timer) : wxTimerImpl(timer) { m_id = 0; }
index 701d7729defede9aafd95565895fc6c5158c0a2b..7217192aba686fbf016c4b8a0777415bf5de442b 100644 (file)
@@ -21,7 +21,7 @@
 
 #include "wx/arrstr.h"
 
-class WXDLLEXPORT wxRadioBox : public wxControl, public wxRadioBoxBase
+class WXDLLIMPEXP_CORE wxRadioBox : public wxControl, public wxRadioBoxBase
 {
 public:
     wxRadioBox() { Init(); }
index fa2f449e6229b87c57615d0d642aa7417d49c651..71b5b72b5a6fd1572a53c7eea5e75c8e05eb4543 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_RADIOBUT_H_
 #define _WX_RADIOBUT_H_
 
-class WXDLLEXPORT wxRadioButton: public wxControl
+class WXDLLIMPEXP_CORE wxRadioButton: public wxControl
 {
     DECLARE_DYNAMIC_CLASS(wxRadioButton)
 public:
index cee6f8abb3a340a631dc00030603e94e7f1b7712..15591caedc9a37ab815a9a1350284ca3e8b67bf6 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_SCROLBAR_H_
 
 // Scrollbar item
-class WXDLLEXPORT wxScrollBar: public wxScrollBarBase
+class WXDLLIMPEXP_CORE wxScrollBar: public wxScrollBarBase
 {
     DECLARE_DYNAMIC_CLASS(wxScrollBar)
 
index adb6201cade33eed38b47981ab81fa2a3d358af9..50cab8140af93ff2fad565faebbc442fb0c7d4f9 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/control.h"
 
 // Slider
-class WXDLLEXPORT wxSlider: public wxSliderBase
+class WXDLLIMPEXP_CORE wxSlider: public wxSliderBase
 {
     DECLARE_DYNAMIC_CLASS(wxSlider)
 
index 71ce033ee753bb6eba3b855d36801410fd5d35dc..cd3e0c46ceeabedd992e4396272cf620a7edf252 100644 (file)
@@ -14,7 +14,7 @@
 
 class WXDLLIMPEXP_FWD_CORE wxArrowButton; // internal
 
-class WXDLLEXPORT wxSpinButton : public wxSpinButtonBase
+class WXDLLIMPEXP_CORE wxSpinButton : public wxSpinButtonBase
 {
     DECLARE_DYNAMIC_CLASS(wxSpinButton)
 
index fe481c5f886ad0cc2731a173d31f4300b1342361..11d8fbb9b71ae1a3bbc5ba8ed05d241cb1d91ac7 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/motif/bmpmotif.h"
 #include "wx/icon.h"
 
-class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase
+class WXDLLIMPEXP_CORE wxStaticBitmap : public wxStaticBitmapBase
 {
     DECLARE_DYNAMIC_CLASS(wxStaticBitmap)
 
index 62c3d2ad8e78889db249ba76065e1fac9f70199b..cddbe301e1bf8dfed6977606e61789b50502e0a6 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_STATBOX_H_
 
 // Group box
-class WXDLLEXPORT wxStaticBox: public wxStaticBoxBase
+class WXDLLIMPEXP_CORE wxStaticBox: public wxStaticBoxBase
 {
     DECLARE_DYNAMIC_CLASS(wxStaticBox)
 
index d330e78ca39aeb460a8bc186f4527178f2d51448..cd9893ebfa2b2fe0103b106728bf830448dc2620 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_STATTEXT_H_
 #define _WX_STATTEXT_H_
 
-class WXDLLEXPORT wxStaticText: public wxStaticTextBase
+class WXDLLIMPEXP_CORE wxStaticText: public wxStaticTextBase
 {
     DECLARE_DYNAMIC_CLASS(wxStaticText)
 
index 2eed64a576d5a8a5d06ff9e516b7d03b551ee15a..e391854724598cf305b6602730d39005b58c6f14 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_TEXTCTRL_H_
 
 // Single-line text item
-class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase
+class WXDLLIMPEXP_CORE wxTextCtrl : public wxTextCtrlBase
 {
 public:
     // creation
index 0fd827b953934f8621306bbf2d0f844a5dd883e3..b35aa1b5cece6bd0e327bdc50c71df62b62dbf7d 100644 (file)
@@ -15,7 +15,7 @@
 
 #include "wx/checkbox.h"
 
-class WXDLLEXPORT wxToggleButton : public wxCheckBox
+class WXDLLIMPEXP_CORE wxToggleButton : public wxCheckBox
 {
 public:
     wxToggleButton() { Init(); }
index c577b02a8f3e142f0e516312834faeaaac40cdb2..6407334fce888eb8af71c012fa9c6bb763486876 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_TOOLBAR_H_
 #define _WX_TOOLBAR_H_
 
-class WXDLLEXPORT wxToolBar : public wxToolBarBase
+class WXDLLIMPEXP_CORE wxToolBar : public wxToolBarBase
 {
 public:
     // ctors and dtor
index c5a294f3c300478df6b1f4bbb371b78f3e227c90..a5bc5383bc677b764454d0d9761440ab518b1bcb 100644 (file)
@@ -319,7 +319,7 @@ private:
 // from scope.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxNoOptimize
+class WXDLLIMPEXP_CORE wxNoOptimize
 {
 public:
     wxNoOptimize() { ms_count++; }
index 60493ecb7ca003a91f51f75d8694306cb701a206..b2701d28f76e0f0ae5152c40b103b42af6e2e9a4 100644 (file)
@@ -18,9 +18,9 @@
 
 #include "wx/dialog.h"
 
-WXDLLEXPORT_DATA(extern const char) wxMessageBoxCaptionStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxMessageBoxCaptionStr[];
 
-class WXDLLEXPORT wxMessageDialogBase : public wxDialog
+class WXDLLIMPEXP_CORE wxMessageDialogBase : public wxDialog
 {
 public:
     // ctors
@@ -135,7 +135,7 @@ protected:
 // wxMessageBox: the simplest way to use wxMessageDialog
 // ----------------------------------------------------------------------------
 
-int WXDLLEXPORT wxMessageBox(const wxString& message,
+int WXDLLIMPEXP_CORE wxMessageBox(const wxString& message,
                              const wxString& caption = wxMessageBoxCaptionStr,
                              long style = wxOK | wxCENTRE,
                              wxWindow *parent = NULL,
index 277290a4cbbf6340cdb45371970a895c9a0c83de..6a64252a6fdb68ba272891f3e5ef13f5c92cb491 100644 (file)
@@ -18,7 +18,7 @@ class WXDLLIMPEXP_FWD_CORE wxWindow;
 // the accel table has all accelerators for a given window or menu
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxAcceleratorTable : public wxObject
+class WXDLLIMPEXP_CORE wxAcceleratorTable : public wxObject
 {
 public:
     // default ctor
index c9703b11d84f2907f2562972db91c14f259f1057..0295db6ce427be7833a246f3f408a30aa077ca91 100644 (file)
@@ -23,7 +23,7 @@ class WXDLLIMPEXP_FWD_BASE wxLog;
 
 // Represents the application. Derive OnInit and declare
 // a new App object to start application
-class WXDLLEXPORT wxApp : public wxAppBase
+class WXDLLIMPEXP_CORE wxApp : public wxAppBase
 {
     DECLARE_DYNAMIC_CLASS(wxApp)
 
@@ -122,17 +122,17 @@ inline int wxApp::GetShell32Version()
 
 // wxMSW-only overloads of wxEntry() and wxEntryStart() which take the
 // parameters passed to WinMain() instead of those passed to main()
-extern bool WXDLLEXPORT
-wxEntryStart(HINSTANCE hInstance,
-             HINSTANCE hPrevInstance = NULL,
-             wxCmdLineArgType pCmdLine = NULL,
-             int nCmdShow = SW_SHOWNORMAL);
-
-extern int WXDLLEXPORT
-wxEntry(HINSTANCE hInstance,
-        HINSTANCE hPrevInstance = NULL,
-        wxCmdLineArgType pCmdLine = NULL,
-        int nCmdShow = SW_SHOWNORMAL);
+extern WXDLLIMPEXP_CORE bool
+    wxEntryStart(HINSTANCE hInstance,
+                HINSTANCE hPrevInstance = NULL,
+                wxCmdLineArgType pCmdLine = NULL,
+                int nCmdShow = SW_SHOWNORMAL);
+
+extern WXDLLIMPEXP_CORE int
+    wxEntry(HINSTANCE hInstance,
+            HINSTANCE hPrevInstance = NULL,
+            wxCmdLineArgType pCmdLine = NULL,
+            int nCmdShow = SW_SHOWNORMAL);
 
 #define IMPLEMENT_WXWIN_MAIN \
     extern "C" int WINAPI WinMain(HINSTANCE hInstance,                    \
index 7525ca1b3f47f15435f3b9bc69a6922d41b937f5..b049b0b0e64abb99d865da3e4aa47678e571f2d6 100644 (file)
@@ -44,7 +44,7 @@ enum wxBitmapTransparency
 // NOTE: for wxMSW we don't use the wxBitmapBase base class declared in bitmap.h!
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmap : public wxGDIImage
+class WXDLLIMPEXP_CORE wxBitmap : public wxGDIImage
 {
 public:
     // default ctor creates an invalid bitmap, you must Create() it later
@@ -207,7 +207,7 @@ private:
 // wxMask: a mono bitmap used for drawing bitmaps transparently.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMask : public wxObject
+class WXDLLIMPEXP_CORE wxMask : public wxObject
 {
 public:
     wxMask();
@@ -251,7 +251,7 @@ protected:
 // NOTE: for wxMSW we don't use the wxBitmapHandler class declared in bitmap.h!
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmapHandler : public wxGDIImageHandler
+class WXDLLIMPEXP_CORE wxBitmapHandler : public wxGDIImageHandler
 {
 public:
     wxBitmapHandler() { }
index 08ef3da8a756c87c0001aae06d00339f1f5ed54b..5d3cab5ce7d0103a6f51cdfb113125ee3bda9f20 100644 (file)
@@ -16,7 +16,7 @@
 #include "wx/bitmap.h"
 #include "wx/brush.h"
 
-class WXDLLEXPORT wxBitmapButton : public wxBitmapButtonBase
+class WXDLLIMPEXP_CORE wxBitmapButton : public wxBitmapButtonBase
 {
 public:
     wxBitmapButton() { Init(); }
index 646372e9c04f76b2d099e153b11fe49b32290fe8..945b13c80abddcac96c203dd7bd883f7f3d39c41 100644 (file)
@@ -20,7 +20,7 @@ class WXDLLIMPEXP_FWD_CORE wxBitmap;
 // wxBrush
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBrush : public wxBrushBase
+class WXDLLIMPEXP_CORE wxBrush : public wxBrushBase
 {
 public:
     wxBrush();
index f7c34eae629c7faef513873d21b32faa5c8485c0..1ee21c4d1e27d4822580c37159386e7b5e9f88e8 100644 (file)
@@ -16,7 +16,7 @@
 // Pushbutton
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxButton : public wxButtonBase
+class WXDLLIMPEXP_CORE wxButton : public wxButtonBase
 {
 public:
     wxButton() { }
index 47b8c8a7005fd6b2a3b1e028c8be46ef568a8ec2..4a6d28ce83f3308ed5900d6a71eb6631cec69658 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_CARET_H_
 #define _WX_CARET_H_
 
-class WXDLLEXPORT wxCaret : public wxCaretBase
+class WXDLLIMPEXP_CORE wxCaret : public wxCaretBase
 {
 public:
     wxCaret() { Init(); }
index c1b17cd5cfa65f4efed9632d00b4a0efa14b0059..dfdcf427188f872043eb4c4d012ebd51ce3fdd0c 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_CHECKBOX_H_
 
 // Checkbox item (single checkbox)
-class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase
+class WXDLLIMPEXP_CORE wxCheckBox : public wxCheckBoxBase
 {
 public:
     wxCheckBox() { }
index a63221640309e8ffd9fb8115591cf8f63ff414c3..25f75d3c81d1c260fc1b97b96603f8d09a456cd4 100644 (file)
@@ -19,7 +19,7 @@
 class WXDLLIMPEXP_FWD_CORE wxOwnerDrawn;
 class WXDLLIMPEXP_FWD_CORE wxCheckListBoxItem; // fwd decl, defined in checklst.cpp
 
-class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase
+class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase
 {
 public:
   // ctors
index 8be304b782060387bca8e7fa72447f132e036293..4f28ec07c2397fd9d481e3ff98f2f63d7021aeaa 100644 (file)
@@ -16,7 +16,7 @@
 // Choice item
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxChoice : public wxChoiceBase
+class WXDLLIMPEXP_CORE wxChoice : public wxChoiceBase
 {
 public:
     // ctors
index ee04acf8f70422f295e651d61b4745cf9edb20c3..7a771e75bbdc8078373acaba91b8929ceb83aa66 100644 (file)
 // implement wxClipboard, and for compatibility.
 
 // open/close the clipboard
-WXDLLEXPORT bool wxOpenClipboard();
-WXDLLEXPORT bool wxIsClipboardOpened();
+WXDLLIMPEXP_CORE bool wxOpenClipboard();
+WXDLLIMPEXP_CORE bool wxIsClipboardOpened();
 #define wxClipboardOpen wxIsClipboardOpened
-WXDLLEXPORT bool wxCloseClipboard();
+WXDLLIMPEXP_CORE bool wxCloseClipboard();
 
 // get/set data
-WXDLLEXPORT bool wxEmptyClipboard();
-WXDLLEXPORT bool wxSetClipboardData(wxDataFormat dataFormat,
+WXDLLIMPEXP_CORE bool wxEmptyClipboard();
+WXDLLIMPEXP_CORE bool wxSetClipboardData(wxDataFormat dataFormat,
                                     const void *data,
                                     int width = 0, int height = 0);
-WXDLLEXPORT void* wxGetClipboardData(wxDataFormat dataFormat,
+WXDLLIMPEXP_CORE void* wxGetClipboardData(wxDataFormat dataFormat,
                                      long *len = NULL);
 
 // clipboard formats
-WXDLLEXPORT bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat);
-WXDLLEXPORT wxDataFormat wxEnumClipboardFormats(wxDataFormat dataFormat);
-WXDLLEXPORT int  wxRegisterClipboardFormat(wxChar *formatName);
-WXDLLEXPORT bool wxGetClipboardFormatName(wxDataFormat dataFormat,
+WXDLLIMPEXP_CORE bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat);
+WXDLLIMPEXP_CORE wxDataFormat wxEnumClipboardFormats(wxDataFormat dataFormat);
+WXDLLIMPEXP_CORE int  wxRegisterClipboardFormat(wxChar *formatName);
+WXDLLIMPEXP_CORE bool wxGetClipboardFormatName(wxDataFormat dataFormat,
                                           wxChar *formatName,
                                           int maxCount);
 
@@ -48,7 +48,7 @@ WXDLLEXPORT bool wxGetClipboardFormatName(wxDataFormat dataFormat,
 //-----------------------------------------------------------------------------
 
 class WXDLLIMPEXP_FWD_CORE wxDataObject;
-class WXDLLEXPORT wxClipboard : public wxClipboardBase
+class WXDLLIMPEXP_CORE wxClipboard : public wxClipboardBase
 {
     DECLARE_DYNAMIC_CLASS(wxClipboard)
 
index 36cd745f9717c1771f4c4c0db366b4b26c853ef5..91ac90090dfd9559f55e7ad72b030631cf5142b1 100644 (file)
@@ -20,7 +20,7 @@
 // wxColourDialog: dialog for choosing a colours
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxColourDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxColourDialog : public wxDialog
 {
 public:
     wxColourDialog() { Init(); }
index 7f25bc88f44e76f08984ec103f34ac814ac4a08e..223e1e0d98c99b069f4476f3f93233334698af5f 100644 (file)
@@ -18,7 +18,7 @@
 // Colour
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxColour : public wxColourBase
+class WXDLLIMPEXP_CORE wxColour : public wxColourBase
 {
 public:
     // constructors
index 1f99eaa935cbbb3fcd446fe696fc78bd7f4da06d..cc9b35d53e5ac1c889de0554f2c3457b0129442f 100644 (file)
@@ -35,7 +35,7 @@
 
 extern WXDLLIMPEXP_DATA_CORE(const char) wxComboBoxNameStr[];
 
-class WXDLLEXPORT wxComboCtrl : public wxComboCtrlBase
+class WXDLLIMPEXP_CORE wxComboCtrl : public wxComboCtrlBase
 {
 public:
     // ctors and such
index 2b888f92079a649ede5e22ea24ee644b3c2348c5..0cebad256dc7b25842090e74f1a971dd2baf4e14 100644 (file)
@@ -21,7 +21,7 @@
 // Combobox control
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxComboBox : public wxChoice,
+class WXDLLIMPEXP_CORE wxComboBox : public wxChoice,
                                public wxTextEntry
 {
 public:
index a2e56f715996d1b49f0f34588d136561a7d914e5..20d9c73d5b233702400b5c3198da706bbab8f558 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/dynarray.h"
 
 // General item class
-class WXDLLEXPORT wxControl : public wxControlBase
+class WXDLLIMPEXP_CORE wxControl : public wxControlBase
 {
 public:
     wxControl() { }
index d197bb1b012d6e5f3e0d7a63f5d07d8795b60741..00c45349e78f3d6e9c6afbb4fb998320779baf53 100644 (file)
@@ -15,7 +15,7 @@
 // wxControlWithItems
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxControlWithItems : public wxControlWithItemsBase
+class WXDLLIMPEXP_CORE wxControlWithItems : public wxControlWithItemsBase
 {
 public:
     wxControlWithItems() { }
index f8025338a4fb86111521f4b239b3f60b11734e18..224973683824f94ace7bf28b25415e04aaf96f52 100644 (file)
@@ -17,7 +17,7 @@
 class WXDLLIMPEXP_FWD_CORE wxImage;
 
 // Cursor
-class WXDLLEXPORT wxCursor : public wxGDIImage
+class WXDLLIMPEXP_CORE wxCursor : public wxGDIImage
 {
 public:
     // constructors
index bd0fdb87af3d6f61102edf83b41b6416180b1868..b031941f5e7eefe592f50b7ed80f1c5ff84e62c8 100644 (file)
@@ -43,7 +43,7 @@ public:
 
 // this is an ABC: use one of the derived classes to create a DC associated
 // with a window, screen, printer and so on
-class WXDLLEXPORT wxMSWDCImpl: public wxDCImpl
+class WXDLLIMPEXP_CORE wxMSWDCImpl: public wxDCImpl
 {
 public:
     wxMSWDCImpl(wxDC *owner, WXHDC hDC);
@@ -319,7 +319,7 @@ protected:
 // only/mainly)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDCTempImpl : public wxMSWDCImpl
+class WXDLLIMPEXP_CORE wxDCTempImpl : public wxMSWDCImpl
 {
 public:
     // construct a temporary DC with the specified HDC and size (it should be
@@ -355,7 +355,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxDCTempImpl)
 };
 
-class WXDLLEXPORT wxDCTemp : public wxDC
+class WXDLLIMPEXP_CORE wxDCTemp : public wxDC
 {
 public:
     wxDCTemp(WXHDC hdc, const wxSize& size = wxDefaultSize)
index 4de0cc398d68491a1f1c3411c22b953306b6ca8b..eed5e21e594f3bc94e110b6a14642071dc8109b9 100644 (file)
@@ -34,7 +34,7 @@ WX_DECLARE_EXPORTED_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo);
 // DC classes
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowDCImpl : public wxMSWDCImpl
+class WXDLLIMPEXP_CORE wxWindowDCImpl : public wxMSWDCImpl
 {
 public:
     // default ctor
@@ -53,7 +53,7 @@ protected:
     DECLARE_NO_COPY_CLASS(wxWindowDCImpl)
 };
 
-class WXDLLEXPORT wxClientDCImpl : public wxWindowDCImpl
+class WXDLLIMPEXP_CORE wxClientDCImpl : public wxWindowDCImpl
 {
 public:
     // default ctor
@@ -73,7 +73,7 @@ protected:
     DECLARE_NO_COPY_CLASS(wxClientDCImpl)
 };
 
-class WXDLLEXPORT wxPaintDCImpl : public wxClientDCImpl
+class WXDLLIMPEXP_CORE wxPaintDCImpl : public wxClientDCImpl
 {
 public:
     wxPaintDCImpl( wxDC *owner );
@@ -102,7 +102,7 @@ protected:
  * message. It is used in HandlePaint and need not be used by an application.
  */
 
-class WXDLLEXPORT wxPaintDCEx : public wxPaintDC
+class WXDLLIMPEXP_CORE wxPaintDCEx : public wxPaintDC
 {
 public:
     wxPaintDCEx(wxWindow *canvas, WXHDC dc);
index 26471f77638952f0b12c35b3a5d39bcd676ddd85..5b78fead33222f744a980a452808c55f9da2a2f4 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/dcmemory.h"
 #include "wx/msw/dc.h"
 
-class WXDLLEXPORT wxMemoryDCImpl: public wxMSWDCImpl
+class WXDLLIMPEXP_CORE wxMemoryDCImpl: public wxMSWDCImpl
 {
 public:
     wxMemoryDCImpl( wxMemoryDC *owner );
index 477b38bd62d595c2ba7428313e9a23ba8b791aa6..2c7f7d42d56ac49b284cbf0ffc668f420a40eec8 100644 (file)
@@ -22,7 +22,7 @@
 //    wxPrinterDCImpl
 //
 
-class WXDLLEXPORT wxPrinterDCImpl : public wxMSWDCImpl
+class WXDLLIMPEXP_CORE wxPrinterDCImpl : public wxMSWDCImpl
 {
 public:
     // Create from print data
@@ -61,13 +61,13 @@ private:
 };
 
 // Gets an HDC for the specified printer configuration
-WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& data);
+WXHDC WXDLLIMPEXP_CORE wxGetPrinterDC(const wxPrintData& data);
 
 // ------------------------------------------------------------------------
 //    wxPrinterDCromHDC
 //
 
-class WXDLLEXPORT wxPrinterDCFromHDC: public wxPrinterDC
+class WXDLLIMPEXP_CORE wxPrinterDCFromHDC: public wxPrinterDC
 {
 public:
     wxPrinterDCFromHDC( WXHDC theDC )
index f60bffa3d866b9ed6e2eb2ac3364508b31f055b9..8635b18afdf9a819c3e376329beeec89a2cec077 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/dcscreen.h"
 #include "wx/msw/dc.h"
 
-class WXDLLEXPORT wxScreenDCImpl : public wxMSWDCImpl
+class WXDLLIMPEXP_CORE wxScreenDCImpl : public wxMSWDCImpl
 {
 public:
     // Create a DC representing the whole screen
index b228a6b4777599446f262f42b37a7d5fbe3db3b7..e29a5e045f0f282e21c70314f78f3005964a3f71 100644 (file)
 
 #include "wx/panel.h"
 
-extern WXDLLEXPORT_DATA(const char) wxDialogNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxDialogNameStr[];
 
 class WXDLLIMPEXP_FWD_CORE wxDialogModalData;
 
 #if wxUSE_TOOLBAR && (defined(__SMARTPHONE__) || defined(__POCKETPC__))
 class WXDLLIMPEXP_FWD_CORE wxToolBar;
-extern WXDLLEXPORT_DATA(const char) wxToolBarNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxToolBarNameStr[];
 #endif
 
 // Dialog boxes
-class WXDLLEXPORT wxDialog : public wxDialogBase
+class WXDLLIMPEXP_CORE wxDialog : public wxDialogBase
 {
 public:
     wxDialog() { Init(); }
index 9b0751296ff25c1eea481ca6921c518eaadd2c3f..73bf5265a957b9907650a6f33b53c466c0bcb20e 100644 (file)
@@ -23,7 +23,7 @@ class WXDLLIMPEXP_FWD_CORE wxPalette;
 // wxDIB: represents a DIB section
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDIB
+class WXDLLIMPEXP_CORE wxDIB
 {
 public:
     // ctors and such
index 23e416fe2ec8cdd8163f5f3a7561db1e860bd2c2..9c6be1fef55ddf77800d53fd792a56aef03c065f 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DIRDLG_H_
 #define _WX_DIRDLG_H_
 
-class WXDLLEXPORT wxDirDialog : public wxDirDialogBase
+class WXDLLIMPEXP_CORE wxDirDialog : public wxDirDialogBase
 {
 public:
     wxDirDialog(wxWindow *parent,
index 060900101e4a543084751b28454f6cd985627db8..fbe7b402f13b496dea67cc7abc45f1476e91cc2c 100644 (file)
@@ -99,7 +99,7 @@
  * wxDragImage
  */
 
-class WXDLLEXPORT wxDragImage: public wxObject
+class WXDLLIMPEXP_CORE wxDragImage: public wxObject
 {
 public:
 
index 264cccb1882f6edf48bf99bf13317b8ce7ba8706..e828b2935863f00eb626618718e233a8816d798f 100644 (file)
@@ -23,7 +23,7 @@
 // wxEnhMetaFile: encapsulation of Win32 HENHMETAFILE
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxEnhMetaFile : public wxGDIObject
+class WXDLLIMPEXP_CORE wxEnhMetaFile : public wxGDIObject
 {
 public:
     wxEnhMetaFile(const wxString& file = wxEmptyString) : m_filename(file)
@@ -78,7 +78,7 @@ private:
 // wxEnhMetaFileDC: allows to create a wxEnhMetaFile
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxEnhMetaFileDC : public wxDC
+class WXDLLIMPEXP_CORE wxEnhMetaFileDC : public wxDC
 {
 public:
     // the ctor parameters specify the filename (empty for memory metafiles),
@@ -102,7 +102,7 @@ private:
 
 // notice that we want to support both CF_METAFILEPICT and CF_ENHMETAFILE and
 // so we derive from wxDataObject and not from wxDataObjectSimple
-class WXDLLEXPORT wxEnhMetaFileDataObject : public wxDataObject
+class WXDLLIMPEXP_CORE wxEnhMetaFileDataObject : public wxDataObject
 {
 public:
     // ctors
@@ -140,7 +140,7 @@ protected:
 // CF_ENHMETAFILE
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxEnhMetaFileSimpleDataObject : public wxDataObjectSimple
+class WXDLLIMPEXP_CORE wxEnhMetaFileSimpleDataObject : public wxDataObjectSimple
 {
 public:
     // ctors
index f7874715e44d57741deea685426a96ca49dbee1c..d7718de05874f3df58f3cf525c0788180322b68c 100644 (file)
@@ -16,7 +16,7 @@
 // wxFindReplaceDialog: dialog for searching / replacing text
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFindReplaceDialog : public wxFindReplaceDialogBase
+class WXDLLIMPEXP_CORE wxFindReplaceDialog : public wxFindReplaceDialogBase
 {
 public:
     // ctors and such
index 482200ad1ab90466d724c60d48d1b58034b0b6b3..3cc4a52d55266a356be356ed8a774ec550b051a5 100644 (file)
@@ -16,7 +16,7 @@
 // wxFileDialog
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
+class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase
 {
 public:
     wxFileDialog(wxWindow *parent,
index 206f2ba65abdd115b8c86140e02868068db4b7a8..fc690bdcbcf09a91ad048b2edacb8e12d125c384 100644 (file)
@@ -18,7 +18,7 @@
 // wxFont
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFont : public wxFontBase
+class WXDLLIMPEXP_CORE wxFont : public wxFontBase
 {
 public:
     // ctors and such
index 92d6078b4525cfaef41dfb24e3c4bef4c7f6c0d6..b20a79d7ce143414d0f32885cdab541bcebd6230 100644 (file)
@@ -16,7 +16,7 @@
 // wxFontDialog
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFontDialog : public wxFontDialogBase
+class WXDLLIMPEXP_CORE wxFontDialog : public wxFontDialogBase
 {
 public:
     wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
index 7b2e01632bac8e91da49b71b6cf97649b090655c..5a3fb736245da39801a0f436552074f4f8c9b261 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_FRAME_H_
 #define _WX_FRAME_H_
 
-class WXDLLEXPORT wxFrame : public wxFrameBase
+class WXDLLIMPEXP_CORE wxFrame : public wxFrameBase
 {
 public:
     // construction
index b3c434ae6ad0a0746acd59326ea88ef4b69abebc..ff9d42d151dbc40b17d8d1ee0a994a02d920be9d 100644 (file)
 
 #if wxUSE_GAUGE
 
-extern WXDLLEXPORT_DATA(const char) wxGaugeNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxGaugeNameStr[];
 
 // Group box
-class WXDLLEXPORT wxGauge : public wxGaugeBase
+class WXDLLIMPEXP_CORE wxGauge : public wxGaugeBase
 {
 public:
     wxGauge() { }
index 9557a9c8e7788a0959f70e11dba26e66dfc64260..6ab0fa5a7761c69d38876634955655fa28ca83c4 100644 (file)
@@ -30,7 +30,7 @@ WX_DECLARE_EXPORTED_LIST(wxGDIImageHandler, wxGDIImageHandlerList);
 // wxGDIImageRefData: common data fields for all derived classes
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGDIImageRefData : public wxGDIRefData
+class WXDLLIMPEXP_CORE wxGDIImageRefData : public wxGDIRefData
 {
 public:
     wxGDIImageRefData()
@@ -82,7 +82,7 @@ public:
 // format. It also falls back to wxImage if no appropriate image is found.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGDIImage : public wxGDIObject
+class WXDLLIMPEXP_CORE wxGDIImage : public wxGDIObject
 {
 public:
     // handlers list interface
@@ -151,7 +151,7 @@ protected:
 // wxGDIImageHandler: a class which knows how to load/save wxGDIImages.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGDIImageHandler : public wxObject
+class WXDLLIMPEXP_CORE wxGDIImageHandler : public wxObject
 {
 public:
     // ctor
index ffe1f7412663f61d0c4a9f9194f5ccebe8054c22..341a07f0fee157be4fe30b518eafd7f5444367c8 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "wx/helpbase.h"
 
-class WXDLLEXPORT wxCHMHelpController : public wxHelpControllerBase
+class WXDLLIMPEXP_CORE wxCHMHelpController : public wxHelpControllerBase
 {
 public:
     wxCHMHelpController(wxWindow* parentWindow = NULL): wxHelpControllerBase(parentWindow) { }
index 24321b416675aab8cd2f90753a754fbfea6a07d7..5af4f824e0beeefdc6ec3bb39460cade2a47c8e8 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "wx/helpbase.h"
 
-class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase
+class WXDLLIMPEXP_CORE wxWinHelpController: public wxHelpControllerBase
 {
     DECLARE_CLASS(wxWinHelpController)
 
index 45ef0fd34b8b530152ea23f321b7bb5ecc4a5076..46c29a6c3a05f347b63a4998fcf7341ab4639558 100644 (file)
@@ -24,7 +24,7 @@
 
 // notice that although wxIconRefData inherits from wxBitmapRefData, it is not
 // a valid wxBitmapRefData
-class WXDLLEXPORT wxIconRefData : public wxGDIImageRefData
+class WXDLLIMPEXP_CORE wxIconRefData : public wxGDIImageRefData
 {
 public:
     wxIconRefData() { }
@@ -37,7 +37,7 @@ public:
 // Icon
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxIcon : public wxGDIImage
+class WXDLLIMPEXP_CORE wxIcon : public wxGDIImage
 {
 public:
     // ctors
index 2da13484ac99d4032552a21f682ba6835fa3de61..c76ce168ccb5b7d6736c7a8976a1ea0e11e5e4c0 100644 (file)
@@ -18,7 +18,7 @@
 // now, the app must take care of ownership issues. That is, the
 // image lists must be explicitly deleted after the control(s) that uses them
 // is (are) deleted, or when the app exits.
-class WXDLLEXPORT wxImageList : public wxObject
+class WXDLLIMPEXP_CORE wxImageList : public wxObject
 {
 public:
   /*
index 5eca7ba7afa1da7729ee4cad853db58942e0776e..80c794550eae118005dc52285ddfd77e3d9d1811 100644 (file)
@@ -38,7 +38,7 @@
 // same as appname). The file name (strAppName parameter) may, in fact,
 // contain the full path to the file. If it doesn't, the file is searched for
 // in the Windows directory.
-class WXDLLEXPORT wxIniConfig : public wxConfigBase
+class WXDLLIMPEXP_CORE wxIniConfig : public wxConfigBase
 {
 public:
   // ctor & dtor
index ec7eb2098164dda6bde5acb9bbdc283ad24bc904..afb1dd3aba2bff655b0197e5592c707875dcab65 100644 (file)
@@ -34,7 +34,7 @@ class WXDLLIMPEXP_FWD_BASE wxArrayInt;
 // List box control
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxListBox : public wxListBoxBase
+class WXDLLIMPEXP_CORE wxListBox : public wxListBoxBase
 {
 public:
     // ctors and such
index b63269dbbe29c136965af8d502becdbe3f101579..50b04f98be186d8b82b6d5633a7484136bae719c 100644 (file)
@@ -71,7 +71,7 @@ class WXDLLIMPEXP_FWD_CORE wxImageList;
 
  */
 
-class WXDLLEXPORT wxListCtrl: public wxControl
+class WXDLLIMPEXP_CORE wxListCtrl: public wxControl
 {
 public:
     /*
index 66d9b4c33da72272ee0c193e19e2300c0fc6c793..a0cbee8804a968119839c1008dd029a2ad85dede 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/frame.h"
 
-extern WXDLLEXPORT_DATA(const char) wxStatusLineNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxStatusLineNameStr[];
 
 class WXDLLIMPEXP_FWD_CORE wxMDIClientWindow;
 class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
@@ -23,7 +23,7 @@ class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
 // wxMDIParentFrame
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMDIParentFrame : public wxFrame
+class WXDLLIMPEXP_CORE wxMDIParentFrame : public wxFrame
 {
 public:
     wxMDIParentFrame();
@@ -125,7 +125,7 @@ private:
 // wxMDIChildFrame
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMDIChildFrame : public wxFrame
+class WXDLLIMPEXP_CORE wxMDIChildFrame : public wxFrame
 {
 public:
     wxMDIChildFrame() { Init(); }
@@ -210,7 +210,7 @@ private:
 // wxMDIClientWindow
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMDIClientWindow : public wxWindow
+class WXDLLIMPEXP_CORE wxMDIClientWindow : public wxWindow
 {
 public:
     wxMDIClientWindow() { Init(); }
index 18ab994c8f325c691d6c9eb67244001d8a9c5631..8262a9f1808cda4ab989df664cc4c93a96b740d8 100644 (file)
@@ -45,7 +45,7 @@ class WXDLLIMPEXP_FWD_CORE wxToolBar;
 // Menu
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenu : public wxMenuBase
+class WXDLLIMPEXP_CORE wxMenu : public wxMenuBase
 {
 public:
     // ctors & dtor
@@ -122,7 +122,7 @@ private:
 // Menu Bar (a la Windows)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenuInfo : public wxObject
+class WXDLLIMPEXP_CORE wxMenuInfo : public wxObject
 {
 public :
     wxMenuInfo() { m_menu = NULL; }
@@ -141,7 +141,7 @@ private :
 
 WX_DECLARE_EXPORTED_LIST(wxMenuInfo, wxMenuInfoList );
 
-class WXDLLEXPORT wxMenuBar : public wxMenuBarBase
+class WXDLLIMPEXP_CORE wxMenuBar : public wxMenuBarBase
 {
 public:
     // ctors & dtor
index 278f166c8f8637514e4e5bc370f851370a72ebec..ed147b7cca74542e21e5c39db294c7595a147e2b 100644 (file)
@@ -24,7 +24,7 @@
 // wxMenuItem: an item in the menu, optionally implements owner-drawn behaviour
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenuItem : public wxMenuItemBase
+class WXDLLIMPEXP_CORE wxMenuItem : public wxMenuItemBase
 #if wxUSE_OWNER_DRAWN
                              , public wxOwnerDrawn
 #endif
index 341b1ce3b8cca70353c1086f1714ce87a61be921..a454c9690ad45617169e3f8c02f4570eebce83db 100644 (file)
@@ -25,7 +25,7 @@
 
 class WXDLLIMPEXP_FWD_CORE wxMetafile;
 
-class WXDLLEXPORT wxMetafileRefData: public wxGDIRefData
+class WXDLLIMPEXP_CORE wxMetafileRefData: public wxGDIRefData
 {
 public:
     wxMetafileRefData();
@@ -43,7 +43,7 @@ public:
 
 #define M_METAFILEDATA ((wxMetafileRefData *)m_refData)
 
-class WXDLLEXPORT wxMetafile: public wxGDIObject
+class WXDLLIMPEXP_CORE wxMetafile: public wxGDIObject
 {
 public:
     wxMetafile(const wxString& file = wxEmptyString);
@@ -77,7 +77,7 @@ private:
     DECLARE_DYNAMIC_CLASS(wxMetafile)
 };
 
-class WXDLLEXPORT wxMetafileDCImpl: public wxMSWDCImpl
+class WXDLLIMPEXP_CORE wxMetafileDCImpl: public wxMSWDCImpl
 {
 public:
     wxMetafileDCImpl(wxDC *owner, const wxString& file = wxEmptyString);
@@ -110,7 +110,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxMetafileDCImpl)
 };
 
-class WXDLLEXPORT wxMetafileDC: public wxDC
+class WXDLLIMPEXP_CORE wxMetafileDC: public wxDC
 {
 public:
     // Don't supply origin and extent
@@ -147,10 +147,10 @@ private:
  */
 
 // No origin or extent
-bool WXDLLEXPORT wxMakeMetafilePlaceable(const wxString& filename, float scale = 1.0);
+bool WXDLLIMPEXP_CORE wxMakeMetafilePlaceable(const wxString& filename, float scale = 1.0);
 
 // Optional origin and extent
-bool WXDLLEXPORT wxMakeMetaFilePlaceable(const wxString& filename, int x1, int y1, int x2, int y2, float scale = 1.0, bool useOriginAndExtent = true);
+bool WXDLLIMPEXP_CORE wxMakeMetaFilePlaceable(const wxString& filename, int x1, int y1, int x2, int y2, float scale = 1.0, bool useOriginAndExtent = true);
 
 // ----------------------------------------------------------------------------
 // wxMetafileDataObject is a specialization of wxDataObject for metafile data
@@ -158,7 +158,7 @@ bool WXDLLEXPORT wxMakeMetaFilePlaceable(const wxString& filename, int x1, int y
 
 #if wxUSE_DRAG_AND_DROP
 
-class WXDLLEXPORT wxMetafileDataObject : public wxDataObjectSimple
+class WXDLLIMPEXP_CORE wxMetafileDataObject : public wxDataObjectSimple
 {
 public:
     // ctors
index 7b43537fad8a40d80f6bb28a2894fd5badc72aad..d81a36656d4469903004df38a30c57c11c3c40e2 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/frame.h"
 
-class WXDLLEXPORT wxMiniFrame : public wxFrame
+class WXDLLIMPEXP_CORE wxMiniFrame : public wxFrame
 {
 public:
   wxMiniFrame() { }
index 29ae1be0b38638d984d0539531a5a1010caa1a6e..e48e1d49195709eafc031bbd6dee2947bdff3716 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_MSGBOXDLG_H_
 #define _WX_MSGBOXDLG_H_
 
-class WXDLLEXPORT wxMessageDialog : public wxMessageDialogBase
+class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogBase
 {
 public:
     wxMessageDialog(wxWindow *parent,
index 29ad2f6e98228ed3e72597b0c04b8bc1b97e6921..0509755d5f8341bf6d742f5ee7630a9dede60755 100644 (file)
@@ -23,7 +23,7 @@
 // wxNotebook
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxNotebookPageInfo : public wxObject
+class WXDLLIMPEXP_CORE wxNotebookPageInfo : public wxObject
 {
 public :
     wxNotebookPageInfo() { m_page = NULL; m_imageId = -1; m_selected = false; }
@@ -57,7 +57,7 @@ private:
 
 WX_DECLARE_EXPORTED_LIST(wxNotebookPageInfo, wxNotebookPageInfoList );
 
-class WXDLLEXPORT wxNotebook : public wxNotebookBase
+class WXDLLIMPEXP_CORE wxNotebook : public wxNotebookBase
 {
 public:
   // ctors
index f32062f2a4f9e7123dfebcd9922f885b241d6a3c..f5898dea5ea38ea5211f11c0df2f1530fcd61a51 100644 (file)
@@ -29,7 +29,7 @@ class WXDLLIMPEXP_FWD_CORE wxWindow;
 // wxAccessible implements accessibility behaviour.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxAccessible : public wxAccessibleBase
+class WXDLLIMPEXP_CORE wxAccessible : public wxAccessibleBase
 {
 public:
     wxAccessible(wxWindow *win = NULL);
index dea726397b85a5fc3e1bd9276309b3cefaf1ebb1..4feca6ff7419593f06ac7f691b3bfbee2fabb37f 100644 (file)
@@ -31,7 +31,7 @@ typedef unsigned short* WXBSTR;
  * Wraps up an IDispatch pointer and invocation; does variant conversion.
  */
 
-class WXDLLEXPORT wxAutomationObject: public wxObject
+class WXDLLIMPEXP_CORE wxAutomationObject: public wxObject
 {
 public:
     wxAutomationObject(WXIDISPATCH* dispatchPtr = NULL);
index 7c4bd960a8e5ae1cc54a7af61ff89e6ed3acaa64..d36edbfff9cdbb08c06d4940b20654558538c040 100644 (file)
@@ -16,7 +16,7 @@
 // wxDataFormat identifies the single format of data
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDataFormat
+class WXDLLIMPEXP_CORE wxDataFormat
 {
 public:
     // the clipboard formats under Win32 are WORD's
index 0cb65ba03c64c67305daa90949e5f4a2dc96261f..a3dca45ea01bc66458a563c9eb8ad202de614568 100644 (file)
@@ -22,7 +22,7 @@ struct IDataObject;
 // wxDataObject is a "smart" and polymorphic piece of data.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDataObject : public wxDataObjectBase
+class WXDLLIMPEXP_CORE wxDataObject : public wxDataObjectBase
 {
 public:
     // ctor & dtor
index 8389942302c1514de666733afe18623aca9070a7..a22759676bcfd5f624cd24341234d39dfecd01ab 100644 (file)
@@ -21,7 +21,7 @@
 //     rarely used). This is ugly, but I haven't found a solution for it yet.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmapDataObject : public wxBitmapDataObjectBase
+class WXDLLIMPEXP_CORE wxBitmapDataObject : public wxBitmapDataObjectBase
 {
 public:
     // ctors
@@ -60,7 +60,7 @@ private:
 // FIXME did I already mention it was ugly?
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmapDataObject2 : public wxBitmapDataObjectBase
+class WXDLLIMPEXP_CORE wxBitmapDataObject2 : public wxBitmapDataObjectBase
 {
 public:
     // ctors
@@ -91,7 +91,7 @@ private:
 // wxFileDataObject - data object for CF_HDROP
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileDataObject : public wxFileDataObjectBase
+class WXDLLIMPEXP_CORE wxFileDataObject : public wxFileDataObjectBase
 {
 public:
     wxFileDataObject() { }
@@ -119,7 +119,7 @@ private:
 // wxURLDataObject: data object for URLs
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxURLDataObject : public wxDataObjectComposite
+class WXDLLIMPEXP_CORE wxURLDataObject : public wxDataObjectComposite
 {
 public:
     // initialize with URL in ctor or use SetURL later
index 9bdcb3584c148a0099063fa84478b51561d99294..4efd1b59f2a73cbd77bb70155cba3b63b18201f0 100644 (file)
@@ -37,7 +37,7 @@ class WXDLLIMPEXP_FWD_CORE wxWindow;
 // wxDataObject object. It's responsible for giving UI feedback while dragging.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDropSource : public wxDropSourceBase
+class WXDLLIMPEXP_CORE wxDropSource : public wxDropSourceBase
 {
 public:
     // ctors: if you use default ctor you must call SetData() later!
index ef59b101bccb6382c0a682110bc7ef1d106e5a0f..aff3f84cc09935a4b256c4bb045adea4bcdfdaad 100644 (file)
@@ -31,7 +31,7 @@ struct IDataObject;
 // (all of them, including protected ones which are called by the class itself)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDropTarget : public wxDropTargetBase
+class WXDLLIMPEXP_CORE wxDropTarget : public wxDropTargetBase
 {
 public:
     // ctor & dtor
index 81c063701a3d7753978e1dd96071027a40d1625d..7766d6b9c58c868fa31ecceb5603f0720943de6b 100644 (file)
@@ -204,7 +204,7 @@ void wxLogRelease(const wxChar *szInterface, ULONG cRef);
 
 // wrapper around BSTR type (by Vadim Zeitlin)
 
-class WXDLLEXPORT wxBasicString
+class WXDLLIMPEXP_CORE wxBasicString
 {
 public:
     // ctors & dtor
@@ -229,15 +229,15 @@ private:
 // Convert variants
 class WXDLLIMPEXP_FWD_BASE wxVariant;
 
-WXDLLEXPORT bool wxConvertVariantToOle(const wxVariant& variant, VARIANTARG& oleVariant);
-WXDLLEXPORT bool wxConvertOleToVariant(const VARIANTARG& oleVariant, wxVariant& variant);
+WXDLLIMPEXP_CORE bool wxConvertVariantToOle(const wxVariant& variant, VARIANTARG& oleVariant);
+WXDLLIMPEXP_CORE bool wxConvertOleToVariant(const VARIANTARG& oleVariant, wxVariant& variant);
 #endif // wxUSE_VARIANT
 
 // Convert string to Unicode
-WXDLLEXPORT BSTR wxConvertStringToOle(const wxString& str);
+WXDLLIMPEXP_CORE BSTR wxConvertStringToOle(const wxString& str);
 
 // Convert string from BSTR to wxString
-WXDLLEXPORT wxString wxConvertStringFromOle(BSTR bStr);
+WXDLLIMPEXP_CORE wxString wxConvertStringFromOle(BSTR bStr);
 
 #else // !wxUSE_OLE
 
index 59604e7f3a62958f94107edac73121d45a364990..7bafccaa6027c2dc1bed1726484dfea727e8ce12 100644 (file)
@@ -44,7 +44,7 @@ typedef unsigned char uchar;
 // ------------------------------------------------------------------
 
 // uses RPC functions to create/convert Universally Unique Identifiers
-class WXDLLEXPORT Uuid
+class WXDLLIMPEXP_CORE Uuid
 {
 private:
   UUID  m_uuid;
index ee404a18816a2ba2b2b34fff804795e32f65e5f9..9d28bbfc3adee479c426f7b544835c15ee0e1a8e 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/gdiobj.h"
 
-class WXDLLEXPORT wxPalette : public wxPaletteBase
+class WXDLLIMPEXP_CORE wxPalette : public wxPaletteBase
 {
 public:
     wxPalette() { }
index 1cd9b15b9f6fd2daa0210abb24c78664347788db..412281e08be1d8747a4654b975c98fac7d141d0f 100644 (file)
@@ -19,7 +19,7 @@
 // Pen
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPen : public wxPenBase
+class WXDLLIMPEXP_CORE wxPen : public wxPenBase
 {
 public:
     wxPen() { }
index 69f5ef964106a15a23db7b19e99be9b3ee932008..0a1f487b501c7a13d75e902c0a723febde432e48 100644 (file)
@@ -16,7 +16,7 @@
 // wxPopupWindow
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPopupWindow : public wxPopupWindowBase
+class WXDLLIMPEXP_CORE wxPopupWindow : public wxPopupWindowBase
 {
 public:
     wxPopupWindow() { }
index 7a0101ec81a4404b9d08d4bf4258df8e04265f4d..06754215f34b5d88afa42d9c211fdbd3837eb888 100644 (file)
@@ -25,7 +25,7 @@ class WXDLLIMPEXP_FWD_CORE wxDC;
 // wxWindowsPrintNativeData
 //----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowsPrintNativeData: public wxPrintNativeDataBase
+class WXDLLIMPEXP_CORE wxWindowsPrintNativeData: public wxPrintNativeDataBase
 {
 public:
     wxWindowsPrintNativeData();
@@ -56,7 +56,7 @@ private:
 // wxWindowsPrintDialog: the MSW dialog for printing
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowsPrintDialog : public wxPrintDialogBase
+class WXDLLIMPEXP_CORE wxWindowsPrintDialog : public wxPrintDialogBase
 {
 public:
     wxWindowsPrintDialog(wxWindow *parent, wxPrintDialogData* data = NULL);
@@ -93,7 +93,7 @@ private:
 // wxWindowsPageSetupDialog: the MSW page setup dialog 
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowsPageSetupDialog: public wxPageSetupDialogBase
+class WXDLLIMPEXP_CORE wxWindowsPageSetupDialog: public wxPageSetupDialogBase
 {
 public:
     wxWindowsPageSetupDialog();
index 64e171c9b0e634526c9fc6b14c3b711577e81a56..c5c2d0a6030d4f380377ed17223df4f71ca41d48 100644 (file)
@@ -18,7 +18,7 @@
 // Represents the printer: manages printing a wxPrintout object
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowsPrinter : public wxPrinterBase
+class WXDLLIMPEXP_CORE wxWindowsPrinter : public wxPrinterBase
 {
     DECLARE_DYNAMIC_CLASS(wxWindowsPrinter)
 
@@ -44,7 +44,7 @@ private:
 // wxPrintout.
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowsPrintPreview : public wxPrintPreviewBase
+class WXDLLIMPEXP_CORE wxWindowsPrintPreview : public wxPrintPreviewBase
 {
 public:
     wxWindowsPrintPreview(wxPrintout *printout,
index 4bed1f04b88e43d6cbf03126a16e47de99bc3523..28ad14f14209b2df568c9ca61985c8384c307fd9 100644 (file)
@@ -42,13 +42,13 @@ class WXDLLIMPEXP_FWD_CORE wxWindowBase;
 
 #if wxUSE_GUI
 
-extern WXDLLEXPORT_DATA(HICON) wxSTD_FRAME_ICON;
-extern WXDLLEXPORT_DATA(HICON) wxSTD_MDIPARENTFRAME_ICON;
-extern WXDLLEXPORT_DATA(HICON) wxSTD_MDICHILDFRAME_ICON;
-extern WXDLLEXPORT_DATA(HICON) wxDEFAULT_FRAME_ICON;
-extern WXDLLEXPORT_DATA(HICON) wxDEFAULT_MDIPARENTFRAME_ICON;
-extern WXDLLEXPORT_DATA(HICON) wxDEFAULT_MDICHILDFRAME_ICON;
-extern WXDLLEXPORT_DATA(HFONT) wxSTATUS_LINE_FONT;
+extern WXDLLIMPEXP_DATA_CORE(HICON) wxSTD_FRAME_ICON;
+extern WXDLLIMPEXP_DATA_CORE(HICON) wxSTD_MDIPARENTFRAME_ICON;
+extern WXDLLIMPEXP_DATA_CORE(HICON) wxSTD_MDICHILDFRAME_ICON;
+extern WXDLLIMPEXP_DATA_CORE(HICON) wxDEFAULT_FRAME_ICON;
+extern WXDLLIMPEXP_DATA_CORE(HICON) wxDEFAULT_MDIPARENTFRAME_ICON;
+extern WXDLLIMPEXP_DATA_CORE(HICON) wxDEFAULT_MDICHILDFRAME_ICON;
+extern WXDLLIMPEXP_DATA_CORE(HFONT) wxSTATUS_LINE_FONT;
 
 #endif // wxUSE_GUI
 
@@ -251,7 +251,7 @@ enum wxSTD_COLOUR
     wxSTD_COL_MAX
 };
 
-struct WXDLLEXPORT wxCOLORMAP
+struct WXDLLIMPEXP_CORE wxCOLORMAP
 {
     COLORREF from, to;
 };
@@ -868,30 +868,30 @@ WXDLLIMPEXP_BASE wxWinVersion wxGetWinVersion();
 extern HCURSOR wxGetCurrentBusyCursor();    // from msw/utils.cpp
 extern const wxCursor *wxGetGlobalCursor(); // from msw/cursor.cpp
 
-WXDLLEXPORT void wxGetCharSize(WXHWND wnd, int *x, int *y, const wxFont& the_font);
-WXDLLEXPORT void wxFillLogFont(LOGFONT *logFont, const wxFont *font);
-WXDLLEXPORT wxFont wxCreateFontFromLogFont(const LOGFONT *logFont);
-WXDLLEXPORT wxFontEncoding wxGetFontEncFromCharSet(int charset);
+WXDLLIMPEXP_CORE void wxGetCharSize(WXHWND wnd, int *x, int *y, const wxFont& the_font);
+WXDLLIMPEXP_CORE void wxFillLogFont(LOGFONT *logFont, const wxFont *font);
+WXDLLIMPEXP_CORE wxFont wxCreateFontFromLogFont(const LOGFONT *logFont);
+WXDLLIMPEXP_CORE wxFontEncoding wxGetFontEncFromCharSet(int charset);
 
-WXDLLEXPORT void wxSliderEvent(WXHWND control, WXWORD wParam, WXWORD pos);
-WXDLLEXPORT void wxScrollBarEvent(WXHWND hbar, WXWORD wParam, WXWORD pos);
+WXDLLIMPEXP_CORE void wxSliderEvent(WXHWND control, WXWORD wParam, WXWORD pos);
+WXDLLIMPEXP_CORE void wxScrollBarEvent(WXHWND hbar, WXWORD wParam, WXWORD pos);
 
 // Find maximum size of window/rectangle
-extern WXDLLEXPORT void wxFindMaxSize(WXHWND hwnd, RECT *rect);
+extern WXDLLIMPEXP_CORE void wxFindMaxSize(WXHWND hwnd, RECT *rect);
 
 // Safely get the window text (i.e. without using fixed size buffer)
-extern WXDLLEXPORT wxString wxGetWindowText(WXHWND hWnd);
+extern WXDLLIMPEXP_CORE wxString wxGetWindowText(WXHWND hWnd);
 
 // get the window class name
-extern WXDLLEXPORT wxString wxGetWindowClass(WXHWND hWnd);
+extern WXDLLIMPEXP_CORE wxString wxGetWindowClass(WXHWND hWnd);
 
 // get the window id (should be unsigned, hence this is not wxWindowID which
 // is, for mainly historical reasons, signed)
-extern WXDLLEXPORT int wxGetWindowId(WXHWND hWnd);
+extern WXDLLIMPEXP_CORE int wxGetWindowId(WXHWND hWnd);
 
 // check if hWnd's WNDPROC is wndProc. Return true if yes, false if they are
 // different
-extern WXDLLEXPORT bool wxCheckWindowWndProc(WXHWND hWnd, WXFARPROC wndProc);
+extern WXDLLIMPEXP_CORE bool wxCheckWindowWndProc(WXHWND hWnd, WXFARPROC wndProc);
 
 // Does this window style specify any border?
 inline bool wxStyleHasBorder(long style)
@@ -906,7 +906,7 @@ inline bool wxStyleHasBorder(long style)
 
 // this function simply checks whether the given hwnd corresponds to a wxWindow
 // and returns either that window if it does or NULL otherwise
-extern WXDLLEXPORT wxWindow* wxFindWinFromHandle(HWND hwnd);
+extern WXDLLIMPEXP_CORE wxWindow* wxFindWinFromHandle(HWND hwnd);
 
 // without STRICT WXHWND is the same as HWND anyhow
 inline wxWindow* wxFindWinFromHandle(WXHWND hWnd)
@@ -919,13 +919,13 @@ inline wxWindow* wxFindWinFromHandle(WXHWND hWnd)
 // wxWindow.
 //
 // returns the wxWindow corresponding to the given HWND or NULL.
-extern WXDLLEXPORT wxWindow *wxGetWindowFromHWND(WXHWND hwnd);
+extern WXDLLIMPEXP_CORE wxWindow *wxGetWindowFromHWND(WXHWND hwnd);
 
 // Get the size of an icon
-extern WXDLLEXPORT wxSize wxGetHiconSize(HICON hicon);
+extern WXDLLIMPEXP_CORE wxSize wxGetHiconSize(HICON hicon);
 
 // Lines are drawn differently for WinCE and regular WIN32
-WXDLLEXPORT void wxDrawLine(HDC hdc, int x1, int y1, int x2, int y2);
+WXDLLIMPEXP_CORE void wxDrawLine(HDC hdc, int x1, int y1, int x2, int y2);
 
 // fill the client rect of the given window on the provided dc using this brush
 inline void wxFillRect(HWND hwnd, HDC hdc, HBRUSH hbr)
index c2c13ee7308d0be2ea06c4f2aa928b5fc38f24a1..a0809e76fcce2e4d53a67708b19c9208f29bd103 100644 (file)
@@ -20,7 +20,7 @@ class WXDLLIMPEXP_FWD_CORE wxSubwindows;
 // wxRadioBox
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxRadioBox : public wxStaticBox, public wxRadioBoxBase
+class WXDLLIMPEXP_CORE wxRadioBox : public wxStaticBox, public wxRadioBoxBase
 {
 public:
     wxRadioBox() { Init(); }
index e5959d494b7579e40b2862fe7d4450537f6d8d1c..41d6ef1d3b0744be1fc82c868c85b6db603a27d2 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_RADIOBUT_H_
 #define _WX_RADIOBUT_H_
 
-class WXDLLEXPORT wxRadioButton: public wxControl
+class WXDLLIMPEXP_CORE wxRadioButton: public wxControl
 {
 public:
     // ctors and creation functions
index a52b9f15d452c32bc91a498473afe14287c9a30e..b75113bbd945bda924defaa2da57fb76865ad393 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_MSW_REGION_H_
 #define _WX_MSW_REGION_H_
 
-class WXDLLEXPORT wxRegion : public wxRegionWithCombine
+class WXDLLIMPEXP_CORE wxRegion : public wxRegionWithCombine
 {
 public:
     wxRegion();
@@ -59,7 +59,7 @@ protected:
     DECLARE_DYNAMIC_CLASS(wxRegion)
 };
 
-class WXDLLEXPORT wxRegionIterator : public wxObject
+class WXDLLIMPEXP_CORE wxRegionIterator : public wxObject
 {
 public:
     wxRegionIterator() { Init(); }
index 72073e490f3d4b70a1a5150707e92402e2940ebe..71368aa7b2bbacf6063ee0687d6229aac66ff479 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_SCROLBAR_H_
 
 // Scrollbar item
-class WXDLLEXPORT wxScrollBar: public wxScrollBarBase
+class WXDLLIMPEXP_CORE wxScrollBar: public wxScrollBarBase
 {
 public:
     wxScrollBar() { m_pageSize = 0; m_viewSize = 0; m_objectSize = 0; }
index 4dfe3dd50a38417d303d3fd603003215f1f2abdc..019bc233da1f017223d002c405c166e3c6859cf9 100644 (file)
@@ -15,7 +15,7 @@
 class WXDLLIMPEXP_FWD_CORE wxSubwindows;
 
 // Slider
-class WXDLLEXPORT wxSlider : public wxSliderBase
+class WXDLLIMPEXP_CORE wxSlider : public wxSliderBase
 {
 public:
     wxSlider() { Init(); }
index f57277f4ebce3b752abebfae4ae5f7a718d30f9c..778db17f85058ce16d2a538ec8ce52d59957315a 100644 (file)
@@ -17,7 +17,7 @@
 
 #if wxUSE_SPINBTN
 
-class WXDLLEXPORT wxSpinButton : public wxSpinButtonBase
+class WXDLLIMPEXP_CORE wxSpinButton : public wxSpinButtonBase
 {
 public:
     // construction
index 94f78810a1700e8ddffcb56bb660fcca64285dad..e137d50d6ed19f46231458866080cdda5c2e3e9f 100644 (file)
@@ -27,7 +27,7 @@ WX_DEFINE_EXPORTED_ARRAY_PTR(wxSpinCtrl *, wxArraySpins);
 // control is clicked.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSpinCtrl : public wxSpinButton
+class WXDLLIMPEXP_CORE wxSpinCtrl : public wxSpinButton
 {
 public:
     wxSpinCtrl() { }
index f510de3a3f2f1eec301422a8e5de7f76aba36431..39f6202e3ca1023ba8c1d6d3a41740e14150a521 100644 (file)
 #include "wx/icon.h"
 #include "wx/bitmap.h"
 
-extern WXDLLEXPORT_DATA(const char) wxStaticBitmapNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxStaticBitmapNameStr[];
 
 // a control showing an icon or a bitmap
-class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase
+class WXDLLIMPEXP_CORE wxStaticBitmap : public wxStaticBitmapBase
 {
 public:
     wxStaticBitmap() { Init(); }
index e51ede32cfd9f29826daf0edae56a644df7c0d1d..27180f2c1eeba7d1b396dcffd8748b9cff83facd 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_MSW_STATBOX_H_
 
 // Group box
-class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase
+class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
 {
 public:
     wxStaticBox() { }
index c69656ecabecf2dc4c0cd095ad4e2a45cacb6a77..2a3528b604b541d76774f20400732ec46f7bedcb 100644 (file)
@@ -15,7 +15,7 @@
 // wxStaticLine
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStaticLine : public wxStaticLineBase
+class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase
 {
 public:
     // constructors and pseudo-constructors
index b9c4b6ad2191d5f7c7278580d68462b0686aeb9c..28e1b79656250d3606ec396cc0a3390f58ce04f1 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_STATTEXT_H_
 #define _WX_STATTEXT_H_
 
-class WXDLLEXPORT wxStaticText : public wxStaticTextBase
+class WXDLLIMPEXP_CORE wxStaticText : public wxStaticTextBase
 {
 public:
     wxStaticText() { }
index 38822039f530a3374e8cc7da3e40f5b060d4bbbf..8828b640e216f4b36c1d53a68f0ba7fa6fcfc4db 100644 (file)
@@ -14,7 +14,7 @@
 
 #if wxUSE_NATIVE_STATUSBAR
 
-class WXDLLEXPORT wxStatusBar : public wxStatusBarBase
+class WXDLLIMPEXP_CORE wxStatusBar : public wxStatusBarBase
 {
 public:
     // ctors and such
index 06ba1433e59b40f291406820a8f808b09319c1c6..79d48668eb306f321cb1103cf8c7abaccc9212cc 100644 (file)
@@ -18,7 +18,7 @@
 // wxSubwindows contains all HWNDs making part of a single wx control
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSubwindows
+class WXDLLIMPEXP_CORE wxSubwindows
 {
 public:
     // the number of subwindows can be specified either as parameter to ctor or
index 5047f96afc1da3f33c6ddcf6fc06bcb0aa84466f..e0fbd24baaa866ab958a9c30f43bdca9777d90e8 100644 (file)
@@ -23,7 +23,7 @@ class WXDLLIMPEXP_FWD_CORE wxImageList;
 #define wxTAB_HITTEST_ONLABEL           4
 #define wxTAB_HITTEST_ONITEM            6
 
-class WXDLLEXPORT wxTabCtrl: public wxControl
+class WXDLLIMPEXP_CORE wxTabCtrl: public wxControl
 {
   DECLARE_DYNAMIC_CLASS(wxTabCtrl)
  public:
@@ -121,7 +121,7 @@ DECLARE_EVENT_TABLE()
     DECLARE_NO_COPY_CLASS(wxTabCtrl)
 };
 
-class WXDLLEXPORT wxTabEvent : public wxNotifyEvent
+class WXDLLIMPEXP_CORE wxTabEvent : public wxNotifyEvent
 {
 public:
     wxTabEvent(wxEventType commandType = wxEVT_NULL, int id = 0,
index c1f9cbed89442bff3fae797d5ff9ff84d22264b4..1da13fffd280cedf9560ef8376881f488955edf3 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_TEXTCTRL_H_
 #define _WX_TEXTCTRL_H_
 
-class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase
+class WXDLLIMPEXP_CORE wxTextCtrl : public wxTextCtrlBase
 {
 public:
     // creation
index a042b9e83b98babb610c45146259b34a3daf172e..7519f17537b0e4df8ec7b88aa41bfa0aaf10790b 100644 (file)
 #ifndef _WX_TOGGLEBUTTON_H_
 #define _WX_TOGGLEBUTTON_H_
 
-extern WXDLLEXPORT_DATA(const char) wxCheckBoxNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxCheckBoxNameStr[];
 
 // Checkbox item (single checkbox)
-class WXDLLEXPORT wxToggleButton : public wxToggleButtonBase
+class WXDLLIMPEXP_CORE wxToggleButton : public wxToggleButtonBase
 {
 public:
     wxToggleButton() {}
index 92fcfd7bcd76d82b5dee6e113aefcce0fe2515e8..217727881264eb07bbe0fe782f1b7eef5705d415 100644 (file)
@@ -17,7 +17,7 @@
 #include "wx/dynarray.h"
 #include "wx/imaglist.h"
 
-class WXDLLEXPORT wxToolBar : public wxToolBarBase
+class WXDLLIMPEXP_CORE wxToolBar : public wxToolBarBase
 {
 public:
     // ctors and dtor
index d1b6bba8248f0fd530ad4c8b2c78065b90f58d86..0e7bafe04ae7e758381fd08a25cca979f1078e9d 100644 (file)
@@ -16,7 +16,7 @@
 
 class WXDLLIMPEXP_FWD_CORE wxWindow;
 
-class WXDLLEXPORT wxToolTip : public wxObject
+class WXDLLIMPEXP_CORE wxToolTip : public wxObject
 {
 public:
     // ctor & dtor
index 1434359e8551370a4502b8388326b25c9a0d5112..e1681e056846fb4358c977c3b4000fb71d74b4cb 100644 (file)
@@ -16,7 +16,7 @@
 // wxTopLevelWindowMSW
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTopLevelWindowMSW : public wxTopLevelWindowBase
+class WXDLLIMPEXP_CORE wxTopLevelWindowMSW : public wxTopLevelWindowBase
 {
 public:
     // constructors and such
index c4105df460cd03662450a9a5aa304fa4008996bd..508bb186022e02412f340d2a94a29abd795d01e9 100644 (file)
@@ -50,7 +50,7 @@ WX_DECLARE_EXPORTED_VOIDPTR_HASH_MAP(wxTreeItemAttr *, wxMapTreeAttr);
 // wxTreeCtrl
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTreeCtrl : public wxTreeCtrlBase
+class WXDLLIMPEXP_CORE wxTreeCtrl : public wxTreeCtrlBase
 {
 public:
     // creation
index fa404596ffc0318e6b3bb8019bc24d5c48ca5e6b..53aca8a059c2d6915425ab8c3ff175ae9b52e387 100644 (file)
@@ -79,7 +79,7 @@ typedef HRESULT (__stdcall *PFNWXUENABLETHEMING)(BOOL);
     #define wxUX_THEME_DECLARE(type, func) type func(...) { return 0; }
 #endif
 
-class WXDLLEXPORT wxUxThemeEngine
+class WXDLLIMPEXP_CORE wxUxThemeEngine
 {
 public:
     // get the theme engine or NULL if themes are not available
index 020e9798c2b7942fc09a6f4255a496e484f22d74..896a30bdad0f4640d2b7681506065babbf6a3af4 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef   __CHECKLSTCE__H_
 #define   __CHECKLSTCE__H_
 
-class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase
+class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase
 {
 public:
     // ctors
index 5f4e3302d5ec9ab4fc0d2e50e229b844af1d7b80..0a55eb2b2c756fcccab13e95b05eb84f5544b1ae 100644 (file)
@@ -29,7 +29,7 @@ WX_DEFINE_EXPORTED_ARRAY_PTR(wxChoice *, wxArrayChoiceSpins);
 // Choice item
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxChoice : public wxChoiceBase
+class WXDLLIMPEXP_CORE wxChoice : public wxChoiceBase
 {
 public:
     // ctors
index e41e27cf1f5f3f64149df64b30b528c1ddd46a5f..9923e515c09eed60d618bb598c737056eda48bc3 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "wx/helpbase.h"
 
-class WXDLLEXPORT wxWinceHelpController : public wxHelpControllerBase
+class WXDLLIMPEXP_CORE wxWinceHelpController : public wxHelpControllerBase
 {
 public:
     wxWinceHelpController(wxWindow* parentWindow = NULL): wxHelpControllerBase(parentWindow) {}
index cb7f97f6974f28cf603be6275a66019292a4bbd9..0a811b6911b978a21f328b586e53d128e68343f2 100644 (file)
@@ -19,7 +19,7 @@
 // Smartphones don't have toolbars, so use a dummy class
 #ifdef __SMARTPHONE__
 
-class WXDLLEXPORT wxToolBar : public wxToolBarBase
+class WXDLLIMPEXP_CORE wxToolBar : public wxToolBarBase
 {
 public:
     // ctors and dtor
@@ -78,7 +78,7 @@ private:
 
 #include "wx/msw/tbar95.h"
 
-class WXDLLEXPORT wxToolMenuBar : public wxToolBar
+class WXDLLIMPEXP_CORE wxToolMenuBar : public wxToolBar
 {
 public:
     // ctors and dtor
index d04b118fd109cd080271558416c7ab141bb7c17f..ffd70f7581b40547dee50043999fc961f47dfa57 100644 (file)
@@ -17,7 +17,7 @@
 class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
 WX_DEFINE_EXPORTED_ARRAY_PTR(wxTextCtrl *, wxArrayTextSpins);
 
-class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase
+class WXDLLIMPEXP_CORE wxTextCtrl : public wxTextCtrlBase
 {
 public:
     // creation
index 159c88b01dbe410f5ac1eb0028aaa6488d997562..733fcf4dc66a7eecacd15a63814db70889ca6280 100644 (file)
@@ -21,7 +21,7 @@
 // wxWindow declaration for MSW
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowMSW : public wxWindowBase
+class WXDLLIMPEXP_CORE wxWindowMSW : public wxWindowBase
 {
     friend class wxSpinCtrl;
     friend class wxSlider;
@@ -584,8 +584,8 @@ private:
 // ---------------------------------------------------------------------------
 
 // kbd code translation
-WXDLLEXPORT int wxCharCodeMSWToWX(int keySym, WXLPARAM lParam = 0);
-WXDLLEXPORT WXWORD wxCharCodeWXToMSW(int id, bool *IsVirtual = NULL);
+WXDLLIMPEXP_CORE int wxCharCodeMSWToWX(int keySym, WXLPARAM lParam = 0);
+WXDLLIMPEXP_CORE WXWORD wxCharCodeWXToMSW(int id, bool *IsVirtual = NULL);
 
 // window creation helper class: before creating a new HWND, instantiate an
 // object of this class on stack - this allows to process the messages sent to
index bcd2cf0c03c3b950ebb37b64d8d6de5cb3528cf4..60aa48e553d7b27e1e09122bba8741bc7501b684 100644 (file)
@@ -93,7 +93,7 @@
 
 #if wxUSE_GUI
 
-WXDLLEXPORT int wxMSLU_DrawStateW(WXHDC dc, WXHBRUSH br, WXFARPROC outputFunc,
+WXDLLIMPEXP_CORE int wxMSLU_DrawStateW(WXHDC dc, WXHBRUSH br, WXFARPROC outputFunc,
                                   WXLPARAM lData, WXWPARAM wData,
                                   int x, int y, int cx, int cy,
                                   unsigned int flags);
@@ -101,10 +101,10 @@ WXDLLEXPORT int wxMSLU_DrawStateW(WXHDC dc, WXHBRUSH br, WXFARPROC outputFunc,
     wxMSLU_DrawStateW((WXHDC)dc,(WXHBRUSH)br,(WXFARPROC)func, \
                       ld, wd, x, y, cx, cy, flags)
 
-WXDLLEXPORT int wxMSLU_GetOpenFileNameW(void *ofn);
+WXDLLIMPEXP_CORE int wxMSLU_GetOpenFileNameW(void *ofn);
 #define GetOpenFileNameW(ofn) wxMSLU_GetOpenFileNameW((void*)ofn)
 
-WXDLLEXPORT int wxMSLU_GetSaveFileNameW(void *ofn);
+WXDLLIMPEXP_CORE int wxMSLU_GetSaveFileNameW(void *ofn);
 #define GetSaveFileNameW(ofn) wxMSLU_GetSaveFileNameW((void*)ofn)
 
 #endif // wxUSE_GUI
index 2687911ed49d3820458163dd0fd29e598cf3b3c2..3522f9f3e256ffcb22370429f6cd86d95528bdae 100644 (file)
@@ -54,13 +54,13 @@ enum
 
 typedef wxWindow wxNotebookPage;  // so far, any window can be a page
 
-extern WXDLLEXPORT_DATA(const char) wxNotebookNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxNotebookNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxNotebookBase: define wxNotebook interface
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxNotebookBase : public wxBookCtrlBase
+class WXDLLIMPEXP_CORE wxNotebookBase : public wxBookCtrlBase
 {
 public:
     // ctors
@@ -118,7 +118,7 @@ protected:
 // notebook event class and related stuff
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxNotebookEvent : public wxBookCtrlBaseEvent
+class WXDLLIMPEXP_CORE wxNotebookEvent : public wxBookCtrlBaseEvent
 {
 public:
     wxNotebookEvent(wxEventType commandType = wxEVT_NULL, int winid = 0,
index 88297d21b859ce038158a2b50996268dfcf02a62..88fe417365aee70c02d62f66afb2fbd6ad8ceafa 100644 (file)
@@ -278,9 +278,9 @@ name##PluginSentinel  m_pluginsentinel;
 #endif  // wxUSE_NESTED_CLASSES
 
 #define DECLARE_PLUGGABLE_CLASS(name) \
- DECLARE_DYNAMIC_CLASS(name) _DECLARE_DL_SENTINEL(name, WXDLLEXPORT)
+ DECLARE_DYNAMIC_CLASS(name) _DECLARE_DL_SENTINEL(name, WXDLLIMPEXP_CORE)
 #define DECLARE_ABSTRACT_PLUGGABLE_CLASS(name)  \
- DECLARE_ABSTRACT_CLASS(name) _DECLARE_DL_SENTINEL(name, WXDLLEXPORT)
+ DECLARE_ABSTRACT_CLASS(name) _DECLARE_DL_SENTINEL(name, WXDLLIMPEXP_CORE)
 
 #define DECLARE_USER_EXPORTED_PLUGGABLE_CLASS(name, usergoo) \
  DECLARE_DYNAMIC_CLASS(name) _DECLARE_DL_SENTINEL(name, usergoo)
@@ -442,21 +442,21 @@ public:
     wxEXPLICIT wxObjectDataPtr(T *ptr = NULL) : m_ptr(ptr) {}
 
     // copy ctor
-    wxObjectDataPtr(const wxObjectDataPtr<T> &tocopy) 
+    wxObjectDataPtr(const wxObjectDataPtr<T> &tocopy)
         : m_ptr(tocopy.m_ptr)
-    { 
+    {
         if (m_ptr)
-            m_ptr->IncRef(); 
+            m_ptr->IncRef();
     }
 
-    ~wxObjectDataPtr() 
-    { 
-        if (m_ptr) 
-            m_ptr->DecRef(); 
+    ~wxObjectDataPtr()
+    {
+        if (m_ptr)
+            m_ptr->DecRef();
     }
 
     T *get() const { return m_ptr; }
-    
+
     // test for pointer validity: defining conversion to unspecified_bool_type
     // and not more obvious bool to avoid implicit conversions to integer types
     typedef T *(wxObjectDataPtr<T>::*unspecified_bool_type)() const;
@@ -466,15 +466,15 @@ public:
     }
 
     T& operator*() const
-    { 
-        wxASSERT(m_ptr != NULL);    
+    {
+        wxASSERT(m_ptr != NULL);
         return *(m_ptr);
     }
-    
+
     T *operator->() const
-    { 
-        wxASSERT(m_ptr != NULL);    
-        return get(); 
+    {
+        wxASSERT(m_ptr != NULL);
+        return get();
     }
 
     void reset(T *ptr)
@@ -485,20 +485,20 @@ public:
     }
 
     wxObjectDataPtr& operator=(const wxObjectDataPtr &tocopy)
-    { 
-        if (m_ptr) 
-            m_ptr->DecRef(); 
-        m_ptr = tocopy.m_ptr; 
+    {
+        if (m_ptr)
+            m_ptr->DecRef();
+        m_ptr = tocopy.m_ptr;
         if (m_ptr)
-            m_ptr->IncRef(); 
+            m_ptr->IncRef();
         return *this;
     }
 
     wxObjectDataPtr& operator=(T *ptr)
-    { 
-        if (m_ptr) 
-            m_ptr->DecRef(); 
-        m_ptr = ptr; 
+    {
+        if (m_ptr)
+            m_ptr->DecRef();
+        m_ptr = ptr;
         return *this;
     }
 
index 21236393c9608819743aaaddc629a719b5045fc0..d0b9c02efc81ad8b7a28f7d948af2286d580da36 100644 (file)
@@ -28,7 +28,7 @@ class WXDLLIMPEXP_FWD_CORE wxAcceleratorTable;
  // Hold no key down
 #define wxACCEL_NORMAL  0x00
 
-class WXDLLEXPORT wxAcceleratorTable: public wxObject
+class WXDLLIMPEXP_CORE wxAcceleratorTable: public wxObject
 {
 DECLARE_DYNAMIC_CLASS(wxAcceleratorTable)
 public:
@@ -51,8 +51,8 @@ public:
                   ) const;
 };
 
-WXDLLEXPORT_DATA(extern wxAcceleratorTable) wxNullAcceleratorTable;
+WXDLLIMPEXP_DATA_CORE(extern wxAcceleratorTable) wxNullAcceleratorTable;
 
-WXDLLEXPORT wxString wxPMTextToLabel(const wxString& rsTitle);
+WXDLLIMPEXP_CORE wxString wxPMTextToLabel(const wxString& rsTitle);
 #endif
     // _WX_ACCEL_H_
index 33f4443e00a2f2099c8b525608a0aee47c65bc22..6c811e3a1f7bee6a0cddd2f1045e8b111e261e51 100644 (file)
@@ -43,14 +43,14 @@ class WXDLLIMPEXP_FWD_CORE wxApp;
 class WXDLLIMPEXP_FWD_CORE wxKeyEvent;
 class WXDLLIMPEXP_FWD_BASE wxLog;
 
-WXDLLEXPORT_DATA(extern wxApp*) wxTheApp;
-WXDLLEXPORT_DATA(extern HAB)    vHabmain;
+WXDLLIMPEXP_DATA_CORE(extern wxApp*) wxTheApp;
+WXDLLIMPEXP_DATA_CORE(extern HAB)    vHabmain;
 
 // Force an exit from main loop
-void WXDLLEXPORT wxExit(void);
+void WXDLLIMPEXP_CORE wxExit(void);
 
 // Yield to other apps/messages
-bool WXDLLEXPORT wxYield(void);
+bool WXDLLIMPEXP_CORE wxYield(void);
 
 extern MRESULT EXPENTRY wxWndProc( HWND
                                   ,ULONG
@@ -61,7 +61,7 @@ extern MRESULT EXPENTRY wxWndProc( HWND
 
 // Represents the application. Derive OnInit and declare
 // a new App object to start application
-class WXDLLEXPORT wxApp : public wxAppBase
+class WXDLLIMPEXP_CORE wxApp : public wxAppBase
 {
     DECLARE_DYNAMIC_CLASS(wxApp)
 
index bf8e88952875c95b8513fd11903a4b5a147c571a..5f0be316b6f0b3bb692f555ff347531db48e9119 100644 (file)
@@ -34,7 +34,7 @@ class WXDLLIMPEXP_FWD_CORE wxImage;
 //     wxBitmap functions accessing it
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmapRefData : public wxGDIImageRefData
+class WXDLLIMPEXP_CORE wxBitmapRefData : public wxGDIImageRefData
 {
 public:
     wxBitmapRefData();
@@ -63,7 +63,7 @@ public:
 // wxBitmap: a mono or colour bitmap
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmap : public wxGDIImage
+class WXDLLIMPEXP_CORE wxBitmap : public wxGDIImage
 {
 public:
     // default ctor creates an invalid bitmap, you must Create() it later
@@ -229,7 +229,7 @@ private:
 // wxMask: a mono bitmap used for drawing bitmaps transparently.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMask : public wxObject
+class WXDLLIMPEXP_CORE wxMask : public wxObject
 {
 public:
     wxMask();
@@ -279,7 +279,7 @@ protected:
 // wxBitmapHandler is a class which knows how to load/save bitmaps to/from file
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmapHandler : public wxGDIImageHandler
+class WXDLLIMPEXP_CORE wxBitmapHandler : public wxGDIImageHandler
 {
 public:
     inline wxBitmapHandler()
index b4b4467ac725db6723ffbf367b5f2f3028d79a9e..6f4ef222e9c4fc237837c073cc744ce4e90fd250 100644 (file)
 #include "wx/button.h"
 #include "wx/dcclient.h"
 
-WXDLLEXPORT_DATA(extern const char) wxButtonNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxButtonNameStr[];
 
 #define wxDEFAULT_BUTTON_MARGIN 4
 
-class WXDLLEXPORT wxBitmapButton: public wxBitmapButtonBase
+class WXDLLIMPEXP_CORE wxBitmapButton: public wxBitmapButtonBase
 {
 public:
     inline wxBitmapButton()
index 14169df062d8919c4939b6e3a4437f65cc3db8de..a7326041fd096c48387a8cd74b9567c8865cb7f3 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/bitmap.h"
 
 // Brush
-class WXDLLEXPORT wxBrush: public wxBrushBase
+class WXDLLIMPEXP_CORE wxBrush: public wxBrushBase
 {
 public:
     wxBrush();
index 15de85ecd50cd0a312abc66efd559d6c98be42d7..463d0d87f56a664d921e466cac480e0599d7f67a 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/control.h"
 
 // Pushbutton
-class WXDLLEXPORT wxButton: public wxButtonBase
+class WXDLLIMPEXP_CORE wxButton: public wxButtonBase
 {
 public:
     inline wxButton() {}
index 0e15c8e4956aaa4cbcfa2c2a56ae953db6a42bc1..f30a49a2f9de0c5783d0542aaab4ab65bb7baf05 100644 (file)
@@ -16,7 +16,7 @@
 
 // Checkbox item (single checkbox)
 class WXDLLIMPEXP_FWD_CORE wxBitmap;
-class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase
+class WXDLLIMPEXP_CORE wxCheckBox : public wxCheckBoxBase
 {
  public:
     inline wxCheckBox() { }
@@ -66,7 +66,7 @@ private:
   DECLARE_DYNAMIC_CLASS(wxCheckBox)
 };
 
-class WXDLLEXPORT wxBitmapCheckBox: public wxCheckBox
+class WXDLLIMPEXP_CORE wxBitmapCheckBox: public wxCheckBox
 {
  public:
 
index db4f841bc6474cb3ec822f04392e88e92bcb1809..4ead4b063a48a1efc208846634a106632f4c7de8 100644 (file)
@@ -19,7 +19,7 @@
 
 class wxOwnerDrawn; // so the compiler knows, it is a class.
 
-class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase
+class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase
 {
 public:
     //
index 5acbbf3d31ba4612f7d5d35b7dcf057707b53e0e..fc8ec9f9761d2bd560bdeccac8868a2b47ca5834 100644 (file)
@@ -16,7 +16,7 @@
 // Choice item
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxChoice: public wxChoiceBase
+class WXDLLIMPEXP_CORE wxChoice: public wxChoiceBase
 {
   DECLARE_DYNAMIC_CLASS(wxChoice)
 
index dfbd291c5e0ca50e7aef41107a8bbf76733dbad2..decb449531ce5c8383cb72cb063b99bad5f35aca 100644 (file)
 // implement wxClipboard, and for compatibility.
 
 // open/close the clipboard
-WXDLLEXPORT bool wxOpenClipboard();
-WXDLLEXPORT bool wxIsClipboardOpened();
+WXDLLIMPEXP_CORE bool wxOpenClipboard();
+WXDLLIMPEXP_CORE bool wxIsClipboardOpened();
 #define wxClipboardOpen wxIsClipboardOpened
-WXDLLEXPORT bool wxCloseClipboard();
+WXDLLIMPEXP_CORE bool wxCloseClipboard();
 
 // get/set data
-WXDLLEXPORT bool wxEmptyClipboard();
-WXDLLEXPORT bool wxSetClipboardData(wxDataFormat dataFormat,
+WXDLLIMPEXP_CORE bool wxEmptyClipboard();
+WXDLLIMPEXP_CORE bool wxSetClipboardData(wxDataFormat dataFormat,
                                     const void *data,
                                     int width = 0, int height = 0);
-WXDLLEXPORT void* wxGetClipboardData(wxDataFormat dataFormat,
+WXDLLIMPEXP_CORE void* wxGetClipboardData(wxDataFormat dataFormat,
                                      long *len = NULL);
 
 // clipboard formats
-WXDLLEXPORT bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat);
-WXDLLEXPORT wxDataFormat wxEnumClipboardFormats(wxDataFormat dataFormat);
-WXDLLEXPORT int  wxRegisterClipboardFormat(wxChar *formatName);
-WXDLLEXPORT bool wxGetClipboardFormatName(wxDataFormat dataFormat,
+WXDLLIMPEXP_CORE bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat);
+WXDLLIMPEXP_CORE wxDataFormat wxEnumClipboardFormats(wxDataFormat dataFormat);
+WXDLLIMPEXP_CORE int  wxRegisterClipboardFormat(wxChar *formatName);
+WXDLLIMPEXP_CORE bool wxGetClipboardFormatName(wxDataFormat dataFormat,
                                           wxChar *formatName,
                                           int maxCount);
 
@@ -51,7 +51,7 @@ WXDLLEXPORT bool wxGetClipboardFormatName(wxDataFormat dataFormat,
 //-----------------------------------------------------------------------------
 
 class WXDLLIMPEXP_FWD_CORE wxDataObject;
-class WXDLLEXPORT wxClipboard : public wxClipboardBase
+class WXDLLIMPEXP_CORE wxClipboard : public wxClipboardBase
 {
     DECLARE_DYNAMIC_CLASS(wxClipboard)
 
index 7b92b0db031e3ea46e9362ddbc9426305fca55e0..e1d44c1c83e122224c8e9cba7c4210b8f3ce61e0 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/object.h"
 
 // Colour
-class WXDLLEXPORT wxColour: public wxColourBase
+class WXDLLIMPEXP_CORE wxColour: public wxColourBase
 {
 public:
     // constructors
index 144f662a101f470b1c4f0780e69ba79eaa724c67..f95d442a2f0783ad08021153265a120889064aa6 100644 (file)
@@ -18,7 +18,7 @@
 #if wxUSE_COMBOBOX
 
 // Combobox item
-class WXDLLEXPORT wxComboBox : public wxChoice,
+class WXDLLIMPEXP_CORE wxComboBox : public wxChoice,
                                public wxTextEntry
 {
 
index 41ba89cc41a747c5319b115980e5137f3fdc53bf..dd7076542e7faf0527696c67026a26ef8424e69c 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/dynarray.h"
 
 // General item class
-class WXDLLEXPORT wxControl : public wxControlBase
+class WXDLLIMPEXP_CORE wxControl : public wxControlBase
 {
     DECLARE_ABSTRACT_CLASS(wxControl)
 
index 0f465ccb5573a1295f9913b1a1df7231d9748d05..f91cb7dd0425322f81a2f76b0996b20300144410 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/bitmap.h"
 
-class WXDLLEXPORT wxCursorRefData: public wxGDIImageRefData
+class WXDLLIMPEXP_CORE wxCursorRefData: public wxGDIImageRefData
 {
 public:
     wxCursorRefData();
@@ -27,7 +27,7 @@ public:
 #define M_CURSORHANDLERDATA ((wxCursorRefData *)bitmap->m_refData)
 
 // Cursor
-class WXDLLEXPORT wxCursor: public wxBitmap
+class WXDLLIMPEXP_CORE wxCursor: public wxBitmap
 {
 public:
     wxCursor();
index edeb7d14893022c9ebbdefe0c64b6e324d6cb0de..d5dc00aa1c276047ab00ef8ef2761e89612ced15 100644 (file)
@@ -97,7 +97,7 @@ public:
 
 // this is an ABC: use one of the derived classes to create a DC associated
 // with a window, screen, printer and so on
-class WXDLLEXPORT wxPMDCImpl : public wxDCImpl
+class WXDLLIMPEXP_CORE wxPMDCImpl : public wxDCImpl
 {
     DECLARE_DYNAMIC_CLASS(wxDC)
 
index b99eedcd11a2344c9899b198359332a486ea25d3..a69cbd7126713093168ed59f10bff232bdd3ec06 100644 (file)
@@ -34,7 +34,7 @@ WX_DECLARE_EXPORTED_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo);
 // DC classes
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowDCImpl : public wxPMDCImpl
+class WXDLLIMPEXP_CORE wxWindowDCImpl : public wxPMDCImpl
 {
 public:
     // default ctor
@@ -55,7 +55,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxWindowDCImpl)
 }; // end of CLASS wxWindowDC
 
-class WXDLLEXPORT wxClientDCImpl : public wxWindowDCImpl
+class WXDLLIMPEXP_CORE wxClientDCImpl : public wxWindowDCImpl
 {
 public:
     // default ctor
@@ -76,7 +76,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxClientDCImpl)
 }; // end of CLASS wxClientDC
 
-class WXDLLEXPORT wxPaintDCImpl : public wxClientDCImpl
+class WXDLLIMPEXP_CORE wxPaintDCImpl : public wxClientDCImpl
 {
 public:
     wxPaintDCImpl( wxDC *owner );
index 194157da9e74c803ff4d1ff1945757c64e9969ac..62b9923d2dfd78d3ac9d34907dd976f1312baade 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/dcmemory.h"
 #include "wx/os2/dc.h"
 
-class WXDLLEXPORT wxMemoryDCImpl: public wxPMDCImpl
+class WXDLLIMPEXP_CORE wxMemoryDCImpl: public wxPMDCImpl
 {
 public:
     wxMemoryDCImpl( wxMemoryDC *owner );
index b742273bc93fda62f287791731c3a2f5cec43045..558f6454c9d58dea3603bfa727dc3c5e999aca3b 100644 (file)
@@ -18,7 +18,7 @@
 #include "wx/cmndata.h"
 #include "wx/os2/dc.h"
 
-class WXDLLEXPORT wxPrinterDCImpl: public wxPMDCImpl
+class WXDLLIMPEXP_CORE wxPrinterDCImpl: public wxPMDCImpl
 {
  public:
     // Create a printer DC
@@ -64,7 +64,7 @@ private:
 }; // end of CLASS wxPrinterDC
 
 // Gets an HDC for the specified printer configuration
-WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& rData);
+WXHDC WXDLLIMPEXP_CORE wxGetPrinterDC(const wxPrintData& rData);
 
 #endif // wxUSE_PRINTING_ARCHITECTURE
 
index ce33cf43caade785d15366a27228656b92e2a4d0..f10fc0058d7532a5a4a1b202b2854ee845a9d616 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/dcscreen.h"
 #include "wx/os2/dc.h"
 
-class WXDLLEXPORT wxScreenDCImpl: public wxPMDCImpl
+class WXDLLIMPEXP_CORE wxScreenDCImpl: public wxPMDCImpl
 {
  public:
     // Create a DC representing the whole screen
index 52137153feb9bce15dedc5d8155a6597ae4ffaf6..49898cbf7f23aa0b4df78c355364bef98dc191fe 100644 (file)
 
 #include "wx/panel.h"
 
-WXDLLEXPORT_DATA(extern const char) wxDialogNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char) wxDialogNameStr[];
 
 class WXDLLIMPEXP_FWD_CORE wxDialogModalData;
 
 //
 // Dialog boxes
 //
-class WXDLLEXPORT wxDialog: public wxDialogBase
+class WXDLLIMPEXP_CORE wxDialog: public wxDialogBase
 {
 public:
 
index 250da8c5bbc3f7aa4ccf96094b897aa98e9e9d8b..756d6d41bc0d5fc3a470cbae3989cac2630dad9c 100644 (file)
@@ -14,9 +14,9 @@
 
 #include "wx/dialog.h"
 
-WXDLLEXPORT_DATA(extern const wxChar) wxFileSelectorPromptStr[];
+WXDLLIMPEXP_DATA_CORE(extern const wxChar) wxFileSelectorPromptStr[];
 
-class WXDLLEXPORT wxDirDialog: public wxDirDialogBase
+class WXDLLIMPEXP_CORE wxDirDialog: public wxDirDialogBase
 {
     DECLARE_DYNAMIC_CLASS(wxDirDialog)
 public:
index 2750c04c169bb65a5dc8db7294f66acf6ab3dc95..05e34264d18a76e4189314a24c3c85cb6b22ee04 100644 (file)
@@ -29,7 +29,7 @@ class CIDropTarget;
 // wxDropSource
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDropSource: public wxDropSourceBase
+class WXDLLIMPEXP_CORE wxDropSource: public wxDropSourceBase
 {
 public:
     /* constructor. set data later with SetData() */
@@ -59,7 +59,7 @@ protected:
 // wxDropTarget
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDropTarget : public wxDropTargetBase
+class WXDLLIMPEXP_CORE wxDropTarget : public wxDropTargetBase
 {
 public:
     wxDropTarget(wxDataObject* pDataObject = (wxDataObject*)NULL);
index b971141d7327d50f8b1c1e1c9898f3954d2e1ba6..e24836ad9206561539262d17035ee8e5649e62af 100644 (file)
@@ -16,7 +16,7 @@
 // wxFileDialog
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
+class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase
 {
 DECLARE_DYNAMIC_CLASS(wxFileDialog)
 public:
index 02da7104829dd43117d93d47b93fbadaed463870..0f599670849745359ba59f0dc76951952d816ac0 100644 (file)
 #include "wx/gdiobj.h"
 #include "wx/os2/private.h"
 
-WXDLLEXPORT_DATA(extern const wxChar*) wxEmptyString;
+WXDLLIMPEXP_DATA_CORE(extern const wxChar*) wxEmptyString;
 
 // ----------------------------------------------------------------------------
 // wxFont
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFont : public wxFontBase
+class WXDLLIMPEXP_CORE wxFont : public wxFontBase
 {
 public:
     // ctors and such
index 27031b6fcf53ed26d13dd8a4343f26183c8769fc..fadd23e1cb03279545e8f2ece0c17dba87300faa 100644 (file)
@@ -20,7 +20,7 @@
  * Font dialog
  */
 
-class WXDLLEXPORT wxFontDialog: public wxFontDialogBase
+class WXDLLIMPEXP_CORE wxFontDialog: public wxFontDialogBase
 {
 public:
     wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
index f8bd78661c1b8dd62abb743b3f93fd13f60f2bfe..b6e2c09e291734fc7cf3caad0335985b99b96d66 100644 (file)
@@ -17,7 +17,7 @@
 //
 #include "wx/os2/wxrsc.h"
 
-class WXDLLEXPORT wxFrame : public wxFrameBase
+class WXDLLIMPEXP_CORE wxFrame : public wxFrameBase
 {
 public:
     // construction
index 5df97b19ae5e5b8ddbfe7e3db8c2ddac729b8020..0877888b018353bbebb498853b4b8b4d6ebc831c 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_GAUGE_H_
 #define _WX_GAUGE_H_
 
-class WXDLLEXPORT wxGauge: public wxGaugeBase
+class WXDLLIMPEXP_CORE wxGauge: public wxGaugeBase
 {
 public:
     inline wxGauge() { m_nRangeMax = 0; m_nGaugePos = 0; }
index 98422387cd5634592699ded2c55b7ba29e367d77..f529c787cf1af886b50c5e6f6cc2a7a77d31d1f7 100644 (file)
@@ -30,7 +30,7 @@ WX_DECLARE_EXPORTED_LIST(wxGDIImageHandler, wxGDIImageHandlerList);
 // wxGDIImageRefData: common data fields for all derived classes
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGDIImageRefData : public wxGDIRefData
+class WXDLLIMPEXP_CORE wxGDIImageRefData : public wxGDIRefData
 {
 public:
     wxGDIImageRefData()
@@ -81,7 +81,7 @@ public:
 // wxGDIImageHandler: a class which knows how to load/save wxGDIImages.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGDIImageHandler : public wxObject
+class WXDLLIMPEXP_CORE wxGDIImageHandler : public wxObject
 {
 public:
     // ctor
@@ -143,7 +143,7 @@ protected:
 // format. It also falls back to wxImage if no appropriate image is found.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGDIImage : public wxGDIObject
+class WXDLLIMPEXP_CORE wxGDIImage : public wxGDIObject
 {
 public:
     // handlers list interface
index d8a2a0815034e4c985635fb25faf83b2323da230..e175e4fb11c4c0e3da92fcfac6980f885be4fe30 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "wx/helpbase.h"
 
-class WXDLLEXPORT wxWinHelpController: public wxHelpControllerBase
+class WXDLLIMPEXP_CORE wxWinHelpController: public wxHelpControllerBase
 {
   DECLARE_CLASS(wxWinHelpController)
 
index b86db3388f63118b45810b5bf74181a8ed94641b..5ccf5424a0982a3fa340d38076a30c44de5c7c07 100644 (file)
@@ -22,7 +22,7 @@
 #define wxIconRefDataBase   wxGDIImageRefData
 #define wxIconBase          wxGDIImage
 
-class WXDLLEXPORT wxIconRefData: public wxIconRefDataBase
+class WXDLLIMPEXP_CORE wxIconRefData: public wxIconRefDataBase
 {
 public:
     wxIconRefData() { };
@@ -35,7 +35,7 @@ public:
 // Icon
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxIcon: public wxIconBase
+class WXDLLIMPEXP_CORE wxIcon: public wxIconBase
 {
 public:
     wxIcon();
index 8d0579796e50ae8f15b70cc0af164fead4cd4c8a..896947c4f4ce5413a45109c75e408e258e2a2a39 100644 (file)
@@ -35,7 +35,7 @@
 // same as appname). The file name (strAppName parameter) may, in fact,
 // contain the full path to the file. If it doesn't, the file is searched for
 // in the Windows directory.
-class WXDLLEXPORT wxIniConfig : public wxConfigBase
+class WXDLLIMPEXP_CORE wxIniConfig : public wxConfigBase
 {
 public:
   // ctor & dtor
index 6b42cdc9f2cf0ef31cecbb8caf31ae2c8a787212..b3160b9286e9ac7967dea9bf05f8e325f7ac231c 100644 (file)
@@ -32,7 +32,7 @@ class wxArrayInt;
 // List box control
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxListBox : public wxListBoxBase
+class WXDLLIMPEXP_CORE wxListBox : public wxListBoxBase
 {
 public:
     // ctors and such
index 9240abb47aa80b687937ff6fe714231d4785d21b..08910649fcf9f8390d7a6bb464b597467d7f5741 100644 (file)
@@ -24,7 +24,7 @@ class WXDLLIMPEXP_FWD_CORE wxImageList;
 
 typedef int (wxCALLBACK *wxListCtrlCompare)(long lItem1, long lItem2, long lSortData);
 
-class WXDLLEXPORT wxListCtrl: public wxControl
+class WXDLLIMPEXP_CORE wxListCtrl: public wxControl
 {
 public:
     wxListCtrl() { Init(); }
index 37f17ffd01188a1c47970f689df5e8ba8d4dabde..dfa7cfa50b9df3290302542e947754a4f51b17b6 100644 (file)
@@ -19,7 +19,7 @@
 class WXDLLIMPEXP_FWD_CORE wxMDIClientWindow;
 class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
 
-class WXDLLEXPORT wxMDIParentFrame: public wxFrame
+class WXDLLIMPEXP_CORE wxMDIParentFrame: public wxFrame
 {
 DECLARE_DYNAMIC_CLASS(wxMDIParentFrame)
 
@@ -103,7 +103,7 @@ private:
     DECLARE_EVENT_TABLE()
 };
 
-class WXDLLEXPORT wxMDIChildFrame: public wxFrame
+class WXDLLIMPEXP_CORE wxMDIChildFrame: public wxFrame
 {
 DECLARE_DYNAMIC_CLASS(wxMDIChildFrame)
 public:
@@ -164,7 +164,7 @@ protected:
  * of the children. Phew! So the children are sort of 'adopted'...
  */
 
-class WXDLLEXPORT wxMDIClientWindow: public wxWindow
+class WXDLLIMPEXP_CORE wxMDIClientWindow: public wxWindow
 {
   DECLARE_DYNAMIC_CLASS(wxMDIClientWindow)
 
index a4c380faa89fba6574c9601d786f1b4765c65972..95ad8e33c9793133718c096d6d69648a7d8b8a5c 100644 (file)
@@ -28,7 +28,7 @@ void wxSetShortCutKey(wxChar* zText);
 // Menu
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenu : public wxMenuBase
+class WXDLLIMPEXP_CORE wxMenu : public wxMenuBase
 {
 public:
     //
@@ -172,7 +172,7 @@ private:
 // Menu Bar (a la Windows)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenuBar : public wxMenuBarBase
+class WXDLLIMPEXP_CORE wxMenuBar : public wxMenuBarBase
 {
 public:
     //
index 6a141f52f154b6514e07920a122f572ae8fbe27c..f1ec06946896fdab5c72409488a611bf2c767d02 100644 (file)
@@ -33,7 +33,7 @@
 // ----------------------------------------------------------------------------
 // wxMenuItem: an item in the menu, optionally implements owner-drawn behaviour
 // ----------------------------------------------------------------------------
-class WXDLLEXPORT wxMenuItem: public wxMenuItemBase
+class WXDLLIMPEXP_CORE wxMenuItem: public wxMenuItemBase
 #if wxUSE_OWNER_DRAWN
                             , public wxOwnerDrawn
 #endif
index 03818f44b171d696ba177dce1631b1d86b438f8e..4e39e32276f003fc7a20fe2e3cfb614149e7a6cb 100644 (file)
@@ -33,7 +33,7 @@
 
 class WXDLLIMPEXP_FWD_CORE wxMetafile;
 
-class WXDLLEXPORT wxMetafileRefData: public wxGDIRefData
+class WXDLLIMPEXP_CORE wxMetafileRefData: public wxGDIRefData
 {
     friend class WXDLLIMPEXP_FWD_CORE wxMetafile;
 public:
@@ -49,7 +49,7 @@ public:
 
 #define M_METAFILEDATA ((wxMetafileRefData *)m_refData)
 
-class WXDLLEXPORT wxMetafile: public wxGDIObject
+class WXDLLIMPEXP_CORE wxMetafile: public wxGDIObject
 {
     DECLARE_DYNAMIC_CLASS(wxMetafile)
 public:
@@ -73,7 +73,7 @@ protected:
     virtual wxGDIRefData *CloneGDIRefData(const wxGDIRefData *data) const;
 };
 
-class WXDLLEXPORT wxMetafileDCImpl: public wxPMDCImpl
+class WXDLLIMPEXP_CORE wxMetafileDCImpl: public wxPMDCImpl
 {
 public:
     wxMetafileDCImpl(wxDC *owner, const wxString& file = wxEmptyString);
@@ -106,7 +106,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxMetafileDCImpl)
 };
 
-class WXDLLEXPORT wxMetafileDC: public wxDC
+class WXDLLIMPEXP_CORE wxMetafileDC: public wxDC
 {
 public:
     // Don't supply origin and extent
@@ -148,10 +148,10 @@ private:
 
 // No origin or extent
 #define wxMakeMetaFilePlaceable wxMakeMetafilePlaceable
-bool WXDLLEXPORT wxMakeMetafilePlaceable(const wxString& filename, float scale = 1.0);
+bool WXDLLIMPEXP_CORE wxMakeMetafilePlaceable(const wxString& filename, float scale = 1.0);
 
 // Optional origin and extent
-bool WXDLLEXPORT wxMakeMetaFilePlaceable( const wxString& filename
+bool WXDLLIMPEXP_CORE wxMakeMetaFilePlaceable( const wxString& filename
                                          ,int x1
                                          ,int y1
                                          ,int x2
@@ -168,7 +168,7 @@ bool WXDLLEXPORT wxMakeMetaFilePlaceable( const wxString& filename
 // use.
 
 #if wxUSE_DRAG_AND_DROP
-class WXDLLEXPORT wxMetafileDataObject : public wxDataObject
+class WXDLLIMPEXP_CORE wxMetafileDataObject : public wxDataObject
 {
 public:
     // ctors
index 37c24c18d6ef9d1ab0bedf31467ba5e658e3b771..b339730b0e06d7d86e281a2a83c12a1ab54bac18 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "wx/frame.h"
 
-class WXDLLEXPORT wxMiniFrame: public wxFrame {
+class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame {
 
   DECLARE_DYNAMIC_CLASS(wxMiniFrame)
 
index 9ec111886fa719ffd84864253a10e943d616b7f5..10d24e83460ce9780c2d602f11dc6260cfbc5e88 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef _WX_MSGBOXDLG_H_
 #define _WX_MSGBOXDLG_H_
 
-class WXDLLEXPORT wxMessageDialog : public wxMessageDialogBase
+class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogBase
 {
 public:
     wxMessageDialog( wxWindow*       pParent
index af22bc4b54fb96a71ebf4179441e7cbb0914c7e5..3c94de27a7a7ad370e676108ca23ca00b30d0fb0 100644 (file)
@@ -23,7 +23,7 @@
 // wxNotebook
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxNotebook : public wxNotebookBase
+class WXDLLIMPEXP_CORE wxNotebook : public wxNotebookBase
 {
 public:
     //
index 69a8ff18cbf9742e6b6c901d0c0bd4c8be90e5a1..b489ec88e45f2432f5073c18e9d5300c45a66eb3 100644 (file)
@@ -17,7 +17,7 @@
 
 class WXDLLIMPEXP_FWD_CORE wxPalette;
 
-class WXDLLEXPORT wxPaletteRefData: public wxGDIRefData
+class WXDLLIMPEXP_CORE wxPaletteRefData: public wxGDIRefData
 {
     friend class WXDLLIMPEXP_FWD_CORE wxPalette;
 public:
@@ -30,7 +30,7 @@ public:
 
 #define M_PALETTEDATA ((wxPaletteRefData *)m_refData)
 
-class WXDLLEXPORT wxPalette: public wxPaletteBase
+class WXDLLIMPEXP_CORE wxPalette: public wxPaletteBase
 {
 public:
     wxPalette();
index bf31b1ed3ab103eecb0eea4565bb6cabfd27de5c..dfcdb9f12f7be8f9e2f15801fa7a75da78e7ccac 100644 (file)
@@ -21,7 +21,7 @@ typedef long wxPMDash;
 // Pen
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPen : public wxPenBase
+class WXDLLIMPEXP_CORE wxPen : public wxPenBase
 {
 public:
   wxPen() { }
index 69a9a47890543f8dc0379f94e8b699edcc3dbe00..b7b53ea184f7d190131f5d11ea9f8bc30e989437 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_PNGHAND_H_
 #define _WX_PNGHAND_H_
 
-class WXDLLEXPORT wxPNGFileHandler: public wxBitmapHandler
+class WXDLLIMPEXP_CORE wxPNGFileHandler: public wxBitmapHandler
 {
     DECLARE_DYNAMIC_CLASS(wxPNGFileHandler)
 public:
index 72ddbab4d789b4b542c612a594c886f5f31efedd..4990a2a1307ff156a732aad9fb356d2cd914b832 100644 (file)
@@ -16,7 +16,7 @@
 // wxPopupWindow
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPopupWindow : public wxPopupWindowBase
+class WXDLLIMPEXP_CORE wxPopupWindow : public wxPopupWindowBase
 {
 public:
     wxPopupWindow() { }
index 34c9336604782861c2ba44151eb78fdaed45c68d..780d0cb16b05aa62deafaa6abfe7bec3066c2784 100644 (file)
@@ -18,7 +18,7 @@
  * Represents the printer: manages printing a wxPrintout object
  */
 
-class WXDLLEXPORT wxOS2Printer: public wxPrinterBase
+class WXDLLIMPEXP_CORE wxOS2Printer: public wxPrinterBase
 {
   DECLARE_DYNAMIC_CLASS(wxPrinter)
 
@@ -37,7 +37,7 @@ private:
  * Programmer creates an object of this class to preview a wxPrintout.
  */
 
-class WXDLLEXPORT wxOS2PrintPreview: public wxPrintPreviewBase
+class WXDLLIMPEXP_CORE wxOS2PrintPreview: public wxPrintPreviewBase
 {
   DECLARE_CLASS(wxPrintPreview)
 
index 171ce9fd07958b6041b4d96152984a7e38498cee..1a813cc91d6b4cc63dc5c220f4e070cbf05d2cdd 100644 (file)
@@ -20,7 +20,7 @@
  * Represents the printer: manages printing a wxPrintout object
  */
 
-class WXDLLEXPORT wxOS2Printer: public wxPrinterBase
+class WXDLLIMPEXP_CORE wxOS2Printer: public wxPrinterBase
 {
     DECLARE_DYNAMIC_CLASS(wxOS2Printer)
 
@@ -39,7 +39,7 @@ private:
  * Programmer creates an object of this class to preview a wxPrintout.
  */
 
-class WXDLLEXPORT wxOS2PrintPreview: public wxPrintPreviewBase
+class WXDLLIMPEXP_CORE wxOS2PrintPreview: public wxPrintPreviewBase
 {
     DECLARE_CLASS(wxOS2PrintPreview)
 
index 685022f9f61972f03bf1d1d96ed06cf8498cd411..a204619b5155fd96c75c978b958d92763273b299 100644 (file)
@@ -94,50 +94,50 @@ class WXDLLIMPEXP_FWD_CORE wxBitmap;
 //
 // Controls
 //
-WXDLLEXPORT_DATA(extern const char)   wxButtonNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxCheckBoxNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxChoiceNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxComboBoxNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxDialogNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxFrameNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxGaugeNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxStaticBoxNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxListBoxNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxStaticLineNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxStaticTextNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxStaticBitmapNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxPanelNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxRadioBoxNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxRadioButtonNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxBitmapRadioButtonNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxScrollBarNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxSliderNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxTextCtrlNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxToolBarNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxStatusLineNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxGetTextFromUserPromptStr[];
-WXDLLEXPORT_DATA(extern const char)   wxMessageBoxCaptionStr[];
-WXDLLEXPORT_DATA(extern const char)   wxFileSelectorPromptStr[];
-WXDLLEXPORT_DATA(extern const char)   wxFileSelectorDefaultWildcardStr[];
-WXDLLEXPORT_DATA(extern const wxChar*) wxInternalErrorStr;
-WXDLLEXPORT_DATA(extern const wxChar*) wxFatalErrorStr;
-WXDLLEXPORT_DATA(extern const char)   wxTreeCtrlNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxDirDialogNameStr[];
-WXDLLEXPORT_DATA(extern const char)   wxDirDialogDefaultFolderStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxButtonNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxCheckBoxNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxChoiceNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxComboBoxNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxDialogNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxFrameNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxGaugeNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxStaticBoxNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxListBoxNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxStaticLineNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxStaticTextNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxStaticBitmapNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxPanelNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxRadioBoxNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxRadioButtonNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxBitmapRadioButtonNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxScrollBarNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxSliderNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxTextCtrlNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxToolBarNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxStatusLineNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxGetTextFromUserPromptStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxMessageBoxCaptionStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxFileSelectorPromptStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxFileSelectorDefaultWildcardStr[];
+WXDLLIMPEXP_DATA_CORE(extern const wxChar*) wxInternalErrorStr;
+WXDLLIMPEXP_DATA_CORE(extern const wxChar*) wxFatalErrorStr;
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxTreeCtrlNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxDirDialogNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const char)   wxDirDialogDefaultFolderStr[];
 
 //
 // Class names
 //
-WXDLLEXPORT_DATA(extern const wxChar*)  wxFrameClassName;
-WXDLLEXPORT_DATA(extern const wxChar*)  wxFrameClassNameNoRedraw;
-WXDLLEXPORT_DATA(extern const wxChar*)  wxMDIFrameClassName;
-WXDLLEXPORT_DATA(extern const wxChar*)  wxMDIFrameClassNameNoRedraw;
-WXDLLEXPORT_DATA(extern const wxChar*)  wxMDIChildFrameClassName;
-WXDLLEXPORT_DATA(extern const wxChar*)  wxMDIChildFrameClassNameNoRedraw;
-WXDLLEXPORT_DATA(extern const wxChar*)  wxPanelClassName;
-WXDLLEXPORT_DATA(extern const wxChar*)  wxPanelClassNameNR;
-WXDLLEXPORT_DATA(extern const wxChar*)  wxCanvasClassName;
-WXDLLEXPORT_DATA(extern const wxChar*)  wxCanvasClassNameNR;
+WXDLLIMPEXP_DATA_CORE(extern const wxChar*)  wxFrameClassName;
+WXDLLIMPEXP_DATA_CORE(extern const wxChar*)  wxFrameClassNameNoRedraw;
+WXDLLIMPEXP_DATA_CORE(extern const wxChar*)  wxMDIFrameClassName;
+WXDLLIMPEXP_DATA_CORE(extern const wxChar*)  wxMDIFrameClassNameNoRedraw;
+WXDLLIMPEXP_DATA_CORE(extern const wxChar*)  wxMDIChildFrameClassName;
+WXDLLIMPEXP_DATA_CORE(extern const wxChar*)  wxMDIChildFrameClassNameNoRedraw;
+WXDLLIMPEXP_DATA_CORE(extern const wxChar*)  wxPanelClassName;
+WXDLLIMPEXP_DATA_CORE(extern const wxChar*)  wxPanelClassNameNR;
+WXDLLIMPEXP_DATA_CORE(extern const wxChar*)  wxCanvasClassName;
+WXDLLIMPEXP_DATA_CORE(extern const wxChar*)  wxCanvasClassNameNR;
 
 // ---------------------------------------------------------------------------
 // standard icons from the resources
@@ -145,13 +145,13 @@ WXDLLEXPORT_DATA(extern const wxChar*)  wxCanvasClassNameNR;
 
 #ifdef __WXPM__
 
-WXDLLEXPORT_DATA(extern HICON) wxSTD_FRAME_ICON;
-WXDLLEXPORT_DATA(extern HICON) wxSTD_MDIPARENTFRAME_ICON;
-WXDLLEXPORT_DATA(extern HICON) wxSTD_MDICHILDFRAME_ICON;
-WXDLLEXPORT_DATA(extern HICON) wxDEFAULT_FRAME_ICON;
-WXDLLEXPORT_DATA(extern HICON) wxDEFAULT_MDIPARENTFRAME_ICON;
-WXDLLEXPORT_DATA(extern HICON) wxDEFAULT_MDICHILDFRAME_ICON;
-WXDLLEXPORT_DATA(extern HFONT) wxSTATUS_LINE_FONT;
+WXDLLIMPEXP_DATA_CORE(extern HICON) wxSTD_FRAME_ICON;
+WXDLLIMPEXP_DATA_CORE(extern HICON) wxSTD_MDIPARENTFRAME_ICON;
+WXDLLIMPEXP_DATA_CORE(extern HICON) wxSTD_MDICHILDFRAME_ICON;
+WXDLLIMPEXP_DATA_CORE(extern HICON) wxDEFAULT_FRAME_ICON;
+WXDLLIMPEXP_DATA_CORE(extern HICON) wxDEFAULT_MDIPARENTFRAME_ICON;
+WXDLLIMPEXP_DATA_CORE(extern HICON) wxDEFAULT_MDICHILDFRAME_ICON;
+WXDLLIMPEXP_DATA_CORE(extern HFONT) wxSTATUS_LINE_FONT;
 
 #endif
 
@@ -296,9 +296,9 @@ extern HBITMAP wxCopyBmp(HBITMAP hbmp, bool flip=false, int w=0, int h=0);
 
 #ifdef __WXPM__
 // The MakeProcInstance version of the function wxSubclassedGenericControlProc
-WXDLLEXPORT_DATA(extern int) wxGenericControlSubClassProc;
-WXDLLEXPORT_DATA(extern wxChar*) wxBuffer;
-WXDLLEXPORT_DATA(extern HINSTANCE) wxhInstance;
+WXDLLIMPEXP_DATA_CORE(extern int) wxGenericControlSubClassProc;
+WXDLLIMPEXP_DATA_CORE(extern wxChar*) wxBuffer;
+WXDLLIMPEXP_DATA_CORE(extern HINSTANCE) wxhInstance;
 #endif
 
 // ---------------------------------------------------------------------------
@@ -308,10 +308,10 @@ WXDLLEXPORT_DATA(extern HINSTANCE) wxhInstance;
 #ifdef __WXPM__
 extern "C"
 {
-WXDLLEXPORT HINSTANCE wxGetInstance();
+WXDLLIMPEXP_CORE HINSTANCE wxGetInstance();
 }
 
-WXDLLEXPORT void wxSetInstance(HINSTANCE hInst);
+WXDLLIMPEXP_CORE void wxSetInstance(HINSTANCE hInst);
 #endif
 
 #include "wx/thread.h"
@@ -330,19 +330,19 @@ static inline MRESULT MySendMsg(HWND hwnd, ULONG ulMsgid,
 
 #ifdef __WXPM__
 
-WXDLLEXPORT void wxDrawBorder( HPS     hPS
+WXDLLIMPEXP_CORE void wxDrawBorder( HPS     hPS
                               ,RECTL&  rRect
                               ,WXDWORD dwStyle
                              );
 
-WXDLLEXPORT wxWindow* wxFindWinFromHandle(WXHWND hWnd);
+WXDLLIMPEXP_CORE wxWindow* wxFindWinFromHandle(WXHWND hWnd);
 
-WXDLLEXPORT void   wxGetCharSize(WXHWND wnd, int *x, int *y,wxFont *the_font);
+WXDLLIMPEXP_CORE void   wxGetCharSize(WXHWND wnd, int *x, int *y,wxFont *the_font);
 
-WXDLLEXPORT void   wxConvertVectorFontSize( FIXED   fxPointSize
+WXDLLIMPEXP_CORE void   wxConvertVectorFontSize( FIXED   fxPointSize
                                            ,PFATTRS pFattrs
                                           );
-WXDLLEXPORT void   wxFillLogFont( LOGFONT*      pLogFont
+WXDLLIMPEXP_CORE void   wxFillLogFont( LOGFONT*      pLogFont
                                  ,PFACENAMEDESC pFaceName
                                  ,HPS*          phPS
                                  ,bool*         pbInternalPS
@@ -350,37 +350,37 @@ WXDLLEXPORT void   wxFillLogFont( LOGFONT*      pLogFont
                                  ,wxString&     sFaceName
                                  ,wxFont*       pFont
                                 );
-WXDLLEXPORT wxFontEncoding wxGetFontEncFromCharSet(int nCharSet);
-WXDLLEXPORT void   wxOS2SelectMatchingFontByName( PFATTRS       vFattrs
+WXDLLIMPEXP_CORE wxFontEncoding wxGetFontEncFromCharSet(int nCharSet);
+WXDLLIMPEXP_CORE void   wxOS2SelectMatchingFontByName( PFATTRS       vFattrs
                                                  ,PFACENAMEDESC pFaceName
                                                  ,PFONTMETRICS  pFM
                                                  ,int           nNumFonts
                                                  ,const wxFont* pFont
                                                 );
-WXDLLEXPORT wxFont wxCreateFontFromLogFont( LOGFONT*      pLogFont
+WXDLLIMPEXP_CORE wxFont wxCreateFontFromLogFont( LOGFONT*      pLogFont
                                            ,PFONTMETRICS  pFM
                                            ,PFACENAMEDESC pFace
                                           );
-WXDLLEXPORT int    wxGpiStrcmp(wxChar* s0, wxChar* s1);
+WXDLLIMPEXP_CORE int    wxGpiStrcmp(wxChar* s0, wxChar* s1);
 
-WXDLLEXPORT void wxSliderEvent(WXHWND control, WXWORD wParam, WXWORD pos);
-WXDLLEXPORT void wxScrollBarEvent(WXHWND hbar, WXWORD wParam, WXWORD pos);
+WXDLLIMPEXP_CORE void wxSliderEvent(WXHWND control, WXWORD wParam, WXWORD pos);
+WXDLLIMPEXP_CORE void wxScrollBarEvent(WXHWND hbar, WXWORD wParam, WXWORD pos);
 
 // Find maximum size of window/rectangle
-WXDLLEXPORT extern void wxFindMaxSize(WXHWND hwnd, RECT *rect);
+WXDLLIMPEXP_CORE extern void wxFindMaxSize(WXHWND hwnd, RECT *rect);
 
-WXDLLEXPORT wxWindow* wxFindControlFromHandle(WXHWND hWnd);
-WXDLLEXPORT void wxAddControlHandle(WXHWND hWnd, wxWindow *item);
+WXDLLIMPEXP_CORE wxWindow* wxFindControlFromHandle(WXHWND hWnd);
+WXDLLIMPEXP_CORE void wxAddControlHandle(WXHWND hWnd, wxWindow *item);
 
 // Safely get the window text (i.e. without using fixed size buffer)
-WXDLLEXPORT extern wxString wxGetWindowText(WXHWND hWnd);
+WXDLLIMPEXP_CORE extern wxString wxGetWindowText(WXHWND hWnd);
 
 // get the window class name
-WXDLLEXPORT extern wxString wxGetWindowClass(WXHWND hWnd);
+WXDLLIMPEXP_CORE extern wxString wxGetWindowClass(WXHWND hWnd);
 
 // get the window id (should be unsigned, hence this is not wxWindowID which
 // is, for mainly historical reasons, signed)
-WXDLLEXPORT extern WXWORD wxGetWindowId(WXHWND hWnd);
+WXDLLIMPEXP_CORE extern WXWORD wxGetWindowId(WXHWND hWnd);
 
 // Convert a PM Error code to a string
 WXDLLIMPEXP_BASE extern wxString wxPMErrorToStr(ERRORID vError);
@@ -400,21 +400,21 @@ inline RECTL wxGetWindowRect(HWND hWnd)
     return vRect;
 } // end of wxGetWindowRect
 
-WXDLLEXPORT extern void wxOS2SetFont( HWND          hWnd
+WXDLLIMPEXP_CORE extern void wxOS2SetFont( HWND          hWnd
                                      ,const wxFont& rFont
                                     );
 
 
-WXDLLEXPORT extern bool wxCheckWindowWndProc( WXHWND    hWnd
+WXDLLIMPEXP_CORE extern bool wxCheckWindowWndProc( WXHWND    hWnd
                                              ,WXFARPROC fnWndProc
                                             );
-WXDLLEXPORT extern wxBitmap wxDisableBitmap( const wxBitmap& rBmp
+WXDLLIMPEXP_CORE extern wxBitmap wxDisableBitmap( const wxBitmap& rBmp
                                             ,long            lColor
                                            );
 #if wxUSE_GUI
 #include "wx/colour.h"
 
-WXDLLEXPORT extern COLORREF wxColourToRGB(const wxColour& rColor);
+WXDLLIMPEXP_CORE extern COLORREF wxColourToRGB(const wxColour& rColor);
 #endif
 
 #endif // __WXPM__
index be2e3d8a3071b091a438d04504ae451b07e5a063..a9480609034d8f3f0ddaa39e4c6c0093b2880caf 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/private/timer.h"
 
-class WXDLLEXPORT wxOS2TimerImpl: public wxTimerImpl
+class WXDLLIMPEXP_CORE wxOS2TimerImpl: public wxTimerImpl
 {
 friend void wxProcessTimer(wxOS2TimerImpl& timer);
 
index 04a93b01678f485b78bebea8e73a1c5f3afa9a0e..bb01435cdb5936b66298674b835d1bfe856f01e2 100644 (file)
@@ -15,7 +15,7 @@
 // List box item
 class WXDLLIMPEXP_FWD_CORE wxBitmap ;
 
-class WXDLLEXPORT wxRadioBox: public wxControl, public wxRadioBoxBase
+class WXDLLIMPEXP_CORE wxRadioBox: public wxControl, public wxRadioBoxBase
 {
 public:
     wxRadioBox();
index 1e71293c8114b375a2f970934fca572a4d5bbb2a..7d1e8196fbf9dfa1acbb702fbfebf1960711671e 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/control.h"
 
-class WXDLLEXPORT wxRadioButton: public wxControl
+class WXDLLIMPEXP_CORE wxRadioButton: public wxControl
 {
 public:
     inline wxRadioButton() { Init(); }
index 126deb0937deb21cee031d598e9df0e16f6943f8..ef4e1a12ea3c284ca37450ae10ba79d5b5800cab 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/list.h"
 #include "wx/os2/private.h"
 
-class WXDLLEXPORT wxRegion : public wxRegionWithCombine
+class WXDLLIMPEXP_CORE wxRegion : public wxRegionWithCombine
 {
 public:
     wxRegion( wxCoord x
@@ -80,7 +80,7 @@ protected:
 
 }; // end of CLASS wxRegion
 
-class WXDLLEXPORT wxRegionIterator : public wxObject
+class WXDLLIMPEXP_CORE wxRegionIterator : public wxObject
 {
 public:
     wxRegionIterator();
index 8ec1d95814882f70860f8ca3937f068173d09013..856c1aa9adfd3aa733c4deae8b63ee42de934284 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/scrolbar.h"
 
 // Scrollbar item
-class WXDLLEXPORT wxScrollBar : public wxScrollBarBase
+class WXDLLIMPEXP_CORE wxScrollBar : public wxScrollBarBase
 {
 public:
     inline wxScrollBar()
index 38d9ecfc146ce8a12721540535cdabe5d9d14a5c..9fc369c7e5e3510d26e7b8d1cdc0d662a01aeced 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/control.h"
 
 // Slider
-class WXDLLEXPORT wxSlider: public wxSliderBase
+class WXDLLIMPEXP_CORE wxSlider: public wxSliderBase
 {
 public:
   wxSlider();
index 39ba5ae572d6833ec10b6bc90a69c1594ed637db..1513ab8860251890082c618e25b450e9d3a272fd 100644 (file)
@@ -22,7 +22,7 @@ extern MRESULT EXPENTRY wxSpinCtrlWndProc(
 , MPARAM                            lParam
 );
 
-class WXDLLEXPORT wxSpinButton: public wxSpinButtonBase
+class WXDLLIMPEXP_CORE wxSpinButton: public wxSpinButtonBase
 {
 public:
     // Construction
index c28c645ef393086127315d4afa1a1123f58c9524..1b37a27fd2d9c4e6cc26b4e648eb17c66c3d1787 100644 (file)
@@ -23,7 +23,7 @@ WX_DEFINE_EXPORTED_ARRAY_PTR(wxSpinCtrl *, wxArraySpins);
 // control is clicked.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSpinCtrl : public wxSpinButton
+class WXDLLIMPEXP_CORE wxSpinCtrl : public wxSpinButton
 {
 public:
     wxSpinCtrl() { }
index 302814742995a29c0c162222c8c9c78895887c3d..0ea76ac9ce517848e85825f0a14b3d4f3d4df5b4 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/control.h"
 #include "wx/icon.h"
 
-class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase
+class WXDLLIMPEXP_CORE wxStaticBitmap : public wxStaticBitmapBase
 {
  public:
     inline wxStaticBitmap() { Init(); }
index ac327c6180da5d1cd1d51713e481e0888957c7ff..7a2b733ecd256470218489da4d80859a27fe1acc 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/control.h"
 
 // Group box
-class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase
+class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
 {
 public:
     inline wxStaticBox() {}
index 76625e51ca8b1d743048fef5a14524e8b86515ea..617e4ddf2e9138ddb17ae1212809e00075e3720c 100644 (file)
@@ -15,7 +15,7 @@
 // wxStaticLine
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStaticLine : public wxStaticLineBase
+class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase
 {
 
 public:
index 7ef0e38879e3151924c24e0b49cc8f6a7274cff8..683210780484fe978adba7be7f1f6e523a6b51d4 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/control.h"
 
-class WXDLLEXPORT wxStaticText : public wxStaticTextBase
+class WXDLLIMPEXP_CORE wxStaticText : public wxStaticTextBase
 {
 public:
     inline wxStaticText() { }
index 40049d332583f66f8b6a9d2b2b4e82b0e1eeb53f..5f56241c04ea85fe987abc5aa891eb8358427d40 100644 (file)
@@ -23,7 +23,7 @@ class wxImageList;
 #define wxTAB_HITTEST_ONLABEL           4
 #define wxTAB_HITTEST_ONITEM            6
 
-class WXDLLEXPORT wxTabCtrl: public wxControl
+class WXDLLIMPEXP_CORE wxTabCtrl: public wxControl
 {
   DECLARE_DYNAMIC_CLASS(wxTabCtrl)
  public:
@@ -118,7 +118,7 @@ protected:
 DECLARE_EVENT_TABLE()
 };
 
-class WXDLLEXPORT wxTabEvent: public wxCommandEvent
+class WXDLLIMPEXP_CORE wxTabEvent: public wxCommandEvent
 {
   DECLARE_DYNAMIC_CLASS(wxTabEvent)
 
index e693736aad9501fbd2a2a0a74374719500106631..e00ff2433a7d3719ee04e685f31e921bfd39440c 100644 (file)
@@ -14,7 +14,7 @@
 
 typedef int (wxCALLBACK *wxTreeCtrlCompare)(long lItem1, long lItem2, long lSortData);
 
-class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase
+class WXDLLIMPEXP_CORE wxTextCtrl : public wxTextCtrlBase
 {
 public:
     wxTextCtrl();
index a8a1e6d1c503a9e8700f4e0028c742bea776a685..3f1811a6fc1427036ca831d43f6dcd8297483a0d 100644 (file)
 #ifndef _WX_TOGGLEBUTTON_H_
 #define _WX_TOGGLEBUTTON_H_
 
-extern WXDLLEXPORT_DATA(const char) wxCheckBoxNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxCheckBoxNameStr[];
 
 // Checkbox item (single checkbox)
-class WXDLLEXPORT wxToggleButton : public wxToggleButtonBase
+class WXDLLIMPEXP_CORE wxToggleButton : public wxToggleButtonBase
 {
 public:
     wxToggleButton() {}
index 77617a36add4ffda9da6e18b74fb024dd5e1bb19..ab156e37f11e123402b2d8943f92bd1abfab0550 100644 (file)
@@ -19,7 +19,7 @@
 #define ID_TOOLTIMER                100
 #define ID_TOOLEXPTIMER             101
 
-class WXDLLEXPORT wxToolBar: public wxToolBarBase
+class WXDLLIMPEXP_CORE wxToolBar: public wxToolBarBase
 {
 public:
     /*
index e5fa3c0723cee59513f27ad80fe18309fa57c5f4..1f775dc01df0da9e929e5a8f7e5707858d6315f8 100644 (file)
@@ -23,7 +23,7 @@ enum ETemplateID
 // wxTopLevelWindowOS2
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTopLevelWindowOS2 : public wxTopLevelWindowBase
+class WXDLLIMPEXP_CORE wxTopLevelWindowOS2 : public wxTopLevelWindowBase
 {
 public:
     // constructors and such
index ad33b1d81d8bad3a231b24de2c1bd3e2928f2c22..46f497cf89db599d63dbb37b220b981057b01315 100644 (file)
@@ -27,8 +27,8 @@
 typedef long wxDataType;
 
 // fwd decl
-class  WXDLLEXPORT wxImageList;
-class  WXDLLEXPORT wxDragImage;
+class  WXDLLIMPEXP_CORE wxImageList;
+class  WXDLLIMPEXP_CORE wxDragImage;
 struct WXDLLIMPEXP_FWD_CORE wxTreeViewItem;
 
 // a callback function used for sorting tree items, it should return -1 if the
@@ -48,7 +48,7 @@ WX_DECLARE_EXPORTED_VOIDPTR_HASH_MAP(wxTreeItemAttr *, wxMapTreeAttr);
 // ----------------------------------------------------------------------------
 // wxTreeCtrl
 // ----------------------------------------------------------------------------
-class WXDLLEXPORT wxTreeCtrl : public wxControl
+class WXDLLIMPEXP_CORE wxTreeCtrl : public wxControl
 {
 public:
     // creation
index 9765a809fa4b650c1a9b87b8c44adb663948c3d6..70474ba32af86526e3a23b8102f2d19283c73b2e 100644 (file)
@@ -40,7 +40,7 @@ class WXDLLIMPEXP_FWD_CORE wxButton;
 // wxWindow declaration for OS/2 PM
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowOS2 : public wxWindowBase
+class WXDLLIMPEXP_CORE wxWindowOS2 : public wxWindowBase
 {
 public:
     wxWindowOS2()
@@ -556,8 +556,8 @@ public:
 // ---------------------------------------------------------------------------
 
 // kbd code translation
-WXDLLEXPORT int wxCharCodeOS2ToWX(int nKeySym);
-WXDLLEXPORT int wxCharCodeWXToOS2( int   nId
+WXDLLIMPEXP_CORE int wxCharCodeOS2ToWX(int nKeySym);
+WXDLLIMPEXP_CORE int wxCharCodeWXToOS2( int   nId
                                   ,bool* pbIsVirtual = NULL
                                  );
 
index b89e98889916df9d7b024797ed74c771e9757ee6..5de5bc77bbb5b14d8040b9c884602f2a0a7c79ab 100644 (file)
@@ -31,7 +31,7 @@
 class WXDLLIMPEXP_FWD_CORE wxOverlayImpl;
 class WXDLLIMPEXP_FWD_CORE wxDC;
 
-class WXDLLEXPORT wxOverlay
+class WXDLLIMPEXP_CORE wxOverlay
 {
 public:
     wxOverlay();
@@ -67,7 +67,7 @@ private:
 };
 
 
-class WXDLLEXPORT wxDCOverlay
+class WXDLLIMPEXP_CORE wxDCOverlay
 {
 public:
     // connects this overlay to the corresponding drawing dc, if the overlay is
index fb6ac27c1c74953853dbdc88220afc0a58851066..be2ae25d581d836e50a9a3e3967fa014ef66c8bc 100644 (file)
@@ -29,7 +29,7 @@
 // element or one unchangeable bitmap otherwise.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxOwnerDrawn
+class WXDLLIMPEXP_CORE wxOwnerDrawn
 {
 public:
   // ctor & dtor
index 491838d3cddc8d377955a31518271073ae46c250..8f9183cdfbd503657c26d08c151b74b1b2df849c 100644 (file)
@@ -20,7 +20,7 @@
 #include "wx/gdiobj.h"
 
 // wxPaletteBase
-class WXDLLEXPORT wxPaletteBase: public wxGDIObject
+class WXDLLIMPEXP_CORE wxPaletteBase: public wxGDIObject
 {
 public:
     virtual ~wxPaletteBase() { }
index f47b035a5fd648a860274a616c6329ef75eb8779..4f82696b8d5743f43647e075f5e89cb005d1cbb6 100644 (file)
@@ -16,7 +16,7 @@
 // the accel table has all accelerators for a given window or menu
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxAcceleratorTable : public wxObject
+class WXDLLIMPEXP_CORE wxAcceleratorTable : public wxObject
 {
 public:
     // default ctor
index 4289b470c29ba72451386336d927760747660e5e..c2f4fa6e93f2d8f13d84435d23ab31ffd5bea51b 100644 (file)
@@ -23,7 +23,7 @@ class WXDLLIMPEXP_FWD_BASE wxLog;
 
 // Represents the application. Derive OnInit and declare
 // a new App object to start application
-class WXDLLEXPORT wxApp : public wxAppBase
+class WXDLLIMPEXP_CORE wxApp : public wxAppBase
 {
     DECLARE_DYNAMIC_CLASS(wxApp)
 
@@ -84,8 +84,7 @@ protected:
     #define SW_SHOWNORMAL 1
 #endif
 
-extern int WXDLLEXPORT
-wxEntry();
+extern WXDLLIMPEXP_CORE int wxEntry();
 
 #define IMPLEMENT_WXWIN_MAIN                                              \
                                                                           \
index e55d2d1c6dbfd7da5c4a15d5fda36763ec775fb3..eff5365cb42e83f2ef4dc3dcb36a0f77f1eb886c 100644 (file)
@@ -35,7 +35,7 @@ class WXDLLIMPEXP_FWD_CORE wxPixelDataBase;
 // wxBitmap: a mono or colour bitmap
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmap : public wxGDIImage
+class WXDLLIMPEXP_CORE wxBitmap : public wxGDIImage
 {
 public:
     // default ctor creates an invalid bitmap, you must Create() it later
@@ -176,7 +176,7 @@ private:
 // wxMask: a mono bitmap used for drawing bitmaps transparently.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMask : public wxObject
+class WXDLLIMPEXP_CORE wxMask : public wxObject
 {
 public:
     wxMask();
@@ -215,7 +215,7 @@ protected:
 // wxBitmapHandler is a class which knows how to load/save bitmaps to/from file
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBitmapHandler : public wxGDIImageHandler
+class WXDLLIMPEXP_CORE wxBitmapHandler : public wxGDIImageHandler
 {
 public:
     wxBitmapHandler() { m_type = wxBITMAP_TYPE_INVALID; }
index f21f5bae672780cff95a8c3265c63be58771e534..c563776aed4776f690875828d054cbcbe59c17d1 100644 (file)
@@ -17,7 +17,7 @@
 
 #define wxDEFAULT_BUTTON_MARGIN 4
 
-class WXDLLEXPORT wxBitmapButton: public wxBitmapButtonBase
+class WXDLLIMPEXP_CORE wxBitmapButton: public wxBitmapButtonBase
 {
 public:
     wxBitmapButton()
index ba4bf15cc179d3fe920e5665930acf21c297c308..4d65402d4910b8cf8d32a639e8554668327b0676 100644 (file)
@@ -22,7 +22,7 @@ class WXDLLIMPEXP_FWD_CORE wxBrush;
 // wxBrush
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBrush : public wxBrushBase
+class WXDLLIMPEXP_CORE wxBrush : public wxBrushBase
 {
 public:
     wxBrush();
index 4c1118b475b011c347f26969d0c90b4ecb19deff..1c6d30cf212a82f4b26de42761f042e058d181ce 100644 (file)
@@ -16,7 +16,7 @@
 // Pushbutton
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxButton : public wxButtonBase
+class WXDLLIMPEXP_CORE wxButton : public wxButtonBase
 {
 public:
     wxButton() { }
index 685fb0a1d22e591e3d4ca02e6c7992cdf017b5b8..0221481407179b89150def7e763aba29002e9f67 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_CARET_H_
 #define _WX_CARET_H_
 
-class WXDLLEXPORT wxCaret : public wxCaretBase
+class WXDLLIMPEXP_CORE wxCaret : public wxCaretBase
 {
 public:
     wxCaret() { Init(); }
index ff4cd9a8d683c8b44570cca390da4df61179d773..a96f5f9db0d76173c0e269fda745a4e5c292918c 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_CHECKBOX_H_
 
 // Checkbox item (single checkbox)
-class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase
+class WXDLLIMPEXP_CORE wxCheckBox : public wxCheckBoxBase
 {
 public:
     wxCheckBox() { }
index caf994612eb678975e7c307bc9327933e842940c..ba593ba141cf75e8573532e1c02e61b5a3b1e8a1 100644 (file)
@@ -19,7 +19,7 @@
 class WXDLLIMPEXP_FWD_CORE wxOwnerDrawn;
 class WXDLLIMPEXP_FWD_CORE wxCheckListBoxItem; // fwd decl, defined in checklst.cpp
 
-class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase
+class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase
 {
 public:
   // ctors
index 7398c9d5f7e05c7ea992b437d65eac226089f17d..fa140208314084a1673f7cd2d3faa3126b71b3dc 100644 (file)
@@ -16,7 +16,7 @@
 // Choice item
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxChoice : public wxChoiceBase
+class WXDLLIMPEXP_CORE wxChoice : public wxChoiceBase
 {
 public:
     // ctors
index c12699bbc0f04a391ceedae61b0b69c6020b0b35..59c8c7715a3146c24aabc2ae04cc9c35f47b1c90 100644 (file)
 // implement wxClipboard, and for compatibility.
 
 // open/close the clipboard
-WXDLLEXPORT bool wxOpenClipboard();
-WXDLLEXPORT bool wxIsClipboardOpened();
+WXDLLIMPEXP_CORE bool wxOpenClipboard();
+WXDLLIMPEXP_CORE bool wxIsClipboardOpened();
 #define wxClipboardOpen wxIsClipboardOpened
-WXDLLEXPORT bool wxCloseClipboard();
+WXDLLIMPEXP_CORE bool wxCloseClipboard();
 
 // get/set data
-WXDLLEXPORT bool wxEmptyClipboard();
-WXDLLEXPORT bool wxSetClipboardData(wxDataFormat dataFormat,
+WXDLLIMPEXP_CORE bool wxEmptyClipboard();
+WXDLLIMPEXP_CORE bool wxSetClipboardData(wxDataFormat dataFormat,
                                     const void *data,
                                     int width = 0, int height = 0);
-WXDLLEXPORT void* wxGetClipboardData(wxDataFormat dataFormat,
+WXDLLIMPEXP_CORE void* wxGetClipboardData(wxDataFormat dataFormat,
                                      long *len = NULL);
 
 // clipboard formats
-WXDLLEXPORT bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat);
-WXDLLEXPORT wxDataFormat wxEnumClipboardFormats(wxDataFormat dataFormat);
-WXDLLEXPORT int  wxRegisterClipboardFormat(wxChar *formatName);
-WXDLLEXPORT bool wxGetClipboardFormatName(wxDataFormat dataFormat,
+WXDLLIMPEXP_CORE bool wxIsClipboardFormatAvailable(wxDataFormat dataFormat);
+WXDLLIMPEXP_CORE wxDataFormat wxEnumClipboardFormats(wxDataFormat dataFormat);
+WXDLLIMPEXP_CORE int  wxRegisterClipboardFormat(wxChar *formatName);
+WXDLLIMPEXP_CORE bool wxGetClipboardFormatName(wxDataFormat dataFormat,
                                           wxChar *formatName,
                                           int maxCount);
 
@@ -48,7 +48,7 @@ WXDLLEXPORT bool wxGetClipboardFormatName(wxDataFormat dataFormat,
 //-----------------------------------------------------------------------------
 
 class WXDLLIMPEXP_FWD_CORE wxDataObject;
-class WXDLLEXPORT wxClipboard : public wxObject
+class WXDLLIMPEXP_CORE wxClipboard : public wxObject
 {
     DECLARE_DYNAMIC_CLASS(wxClipboard)
 
index d215250f9920703ff1701b9b3721627c61ac02af..e6e35236b8d92006c331bc91ed88c8deb5f6aeb9 100644 (file)
@@ -20,7 +20,7 @@
 // wxColourDialog: dialog for choosing a colours
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxColourDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxColourDialog : public wxDialog
 {
 public:
     wxColourDialog();
index bfb46589c5c0709601b4e2f8896ac457ec3a80c2..1de11c19ee409ce50eb2f92dd2f15c2ac8e859db 100644 (file)
@@ -20,7 +20,7 @@
 // Combobox control
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxComboBox: public wxChoice
+class WXDLLIMPEXP_CORE wxComboBox: public wxChoice
 {
 public:
     wxComboBox() { }
index 849ad78d2603706508e0619366577f164aff45a6..caa3a804a4511117817347625792e516357c2281 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/dynarray.h"
 
 // General item class
-class WXDLLEXPORT wxControl : public wxControlBase
+class WXDLLIMPEXP_CORE wxControl : public wxControlBase
 {
 public:
     wxControl() { Init(); }
index 856880890cef8f8d3abd34c3352e858a2557f651..4f76be6560790dea8576640f03ff39debaf9e372 100644 (file)
@@ -17,7 +17,7 @@
 class WXDLLIMPEXP_FWD_CORE wxImage;
 
 // Cursor
-class WXDLLEXPORT wxCursor : public wxGDIImage
+class WXDLLIMPEXP_CORE wxCursor : public wxGDIImage
 {
 public:
     // constructors
index 0e02472e31efdfc9e2727b537b27ddb16262419e..0fb07f2a7ac56f6d7e8d39250fa7fd6b4fdd8709 100644 (file)
@@ -43,7 +43,7 @@ public:
 
 // this is an ABC: use one of the derived classes to create a DC associated
 // with a window, screen, printer and so on
-class WXDLLEXPORT wxPalmDCImpl: public wxDCImpl
+class WXDLLIMPEXP_CORE wxPalmDCImpl: public wxDCImpl
 {
 public:
     wxPalmDCImpl(wxDC *owner, WXHDC hDC);
@@ -319,7 +319,7 @@ protected:
 // only/mainly)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDCTempImpl : public wxPalmDCImpl
+class WXDLLIMPEXP_CORE wxDCTempImpl : public wxPalmDCImpl
 {
 public:
     // construct a temporary DC with the specified HDC and size (it should be
@@ -355,7 +355,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxDCTempImpl)
 };
 
-class WXDLLEXPORT wxDCTemp : public wxDC
+class WXDLLIMPEXP_CORE wxDCTemp : public wxDC
 {
 public:
     wxDCTemp(WXHDC hdc, const wxSize& size = wxDefaultSize)
index af3f15e8dada95f24487463e88c022ec9b69047a..d45b754e44a1260a1b751f267ced68738e74adcb 100644 (file)
@@ -34,7 +34,7 @@ WX_DECLARE_EXPORTED_OBJARRAY(wxPaintDCInfo, wxArrayDCInfo);
 // DC classes
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowDCImpl : public wxPalmDCImpl
+class WXDLLIMPEXP_CORE wxWindowDCImpl : public wxPalmDCImpl
 {
 public:
     // default ctor
@@ -53,7 +53,7 @@ protected:
     DECLARE_NO_COPY_CLASS(wxWindowDCImpl)
 };
 
-class WXDLLEXPORT wxClientDCImpl : public wxWindowDCImpl
+class WXDLLIMPEXP_CORE wxClientDCImpl : public wxWindowDCImpl
 {
 public:
     // default ctor
@@ -73,7 +73,7 @@ protected:
     DECLARE_NO_COPY_CLASS(wxClientDCImpl)
 };
 
-class WXDLLEXPORT wxPaintDCImpl : public wxClientDCImpl
+class WXDLLIMPEXP_CORE wxPaintDCImpl : public wxClientDCImpl
 {
 public:
     wxPaintDCImpl( wxDC *owner );
index c1125eee7bd1a872eeee1d925d1947ebd04edeee..59b69f98596b959ca57eb38e920cbc93f9fd79b8 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/dcmemory.h"
 #include "wx/palmos/dc.h"
 
-class WXDLLEXPORT wxMemoryDCImpl: public wxPalmDCImpl
+class WXDLLIMPEXP_CORE wxMemoryDCImpl: public wxPalmDCImpl
 {
 public:
     wxMemoryDCImpl( wxMemoryDC *owner );
index 20758ead92f4f68a72d7dd3372713d9d1c2680fd..6051b0a23cf49c626f74325e2df02edaaedcf25f 100644 (file)
@@ -17,7 +17,7 @@
 #include "wx/dc.h"
 #include "wx/cmndata.h"
 
-class WXDLLEXPORT wxPrinterDC : public wxDC
+class WXDLLIMPEXP_CORE wxPrinterDC : public wxDC
 {
 public:
     // Create a printer DC (obsolete function: use wxPrintData version now)
@@ -54,10 +54,10 @@ private:
 };
 
 // Gets an HDC for the default printer configuration
-// WXHDC WXDLLEXPORT wxGetPrinterDC(int orientation);
+// WXHDC WXDLLIMPEXP_CORE wxGetPrinterDC(int orientation);
 
 // Gets an HDC for the specified printer configuration
-WXHDC WXDLLEXPORT wxGetPrinterDC(const wxPrintData& data);
+WXHDC WXDLLIMPEXP_CORE wxGetPrinterDC(const wxPrintData& data);
 
 #endif // wxUSE_PRINTING_ARCHITECTURE
 
index f0c5f2a97c07ad746b523dd30d2cad63ec687891..986247f701347f4f4c08ea95216b81cc47f80b51 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/dcscreen.h"
 #include "wx/palmos/dc.h"
 
-class WXDLLEXPORT wxScreenDCImpl : public wxPalmDCImpl
+class WXDLLIMPEXP_CORE wxScreenDCImpl : public wxPalmDCImpl
 {
 public:
     // Create a DC representing the whole screen
index a2b9f7450635c0e1beea19c9fab6df213b23672a..9fd8edeb767d0495433d2fa7fc4a324a8618fa03 100644 (file)
 
 #include "wx/panel.h"
 
-//WXDLLEXPORT_DATA(extern const wxChar) wxDialogNameStr[];
+//WXDLLIMPEXP_DATA_CORE(extern const wxChar) wxDialogNameStr[];
 
 class WXDLLIMPEXP_FWD_CORE wxDialogModalData;
 
 // Dialog boxes
-class WXDLLEXPORT wxDialog : public wxDialogBase
+class WXDLLIMPEXP_CORE wxDialog : public wxDialogBase
 {
 public:
     wxDialog() { Init(); }
index 7b57fce36bb8163c3e1c6667d927bf5df14db669..e68ad4ef14b0db75a67f4917c340bf8c013177e5 100644 (file)
@@ -23,7 +23,7 @@ class WXDLLIMPEXP_FWD_CORE wxPalette;
 // wxDIB: represents a DIB section
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDIB
+class WXDLLIMPEXP_CORE wxDIB
 {
 public:
     // ctors and such
index a8ee2fcdb9c599fe5e30177d75e8e3070f366a7b..8437e5dc936eb8ce8c7f2bb035b1d958be12cf94 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_DIRDLG_H_
 #define _WX_DIRDLG_H_
 
-class WXDLLEXPORT wxDirDialog : public wxDirDialogBase
+class WXDLLIMPEXP_CORE wxDirDialog : public wxDirDialogBase
 {
 public:
     wxDirDialog(wxWindow *parent,
index b3c2089cc2f85a0053bddbc8061fef51f236caab..7da8d04407d1ec545310ace30696dea5505204ec 100644 (file)
@@ -88,7 +88,7 @@
  * wxDragImage
  */
 
-class WXDLLEXPORT wxDragImage: public wxObject
+class WXDLLIMPEXP_CORE wxDragImage: public wxObject
 {
 public:
 
index 1501435442e26fd611d6b8b9b737a090f5809159..e986395628f7273e954b0fdd05693ea3324b8ca1 100644 (file)
@@ -23,7 +23,7 @@
 // wxEnhMetaFile: encapsulation of Win32 HENHMETAFILE
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxEnhMetaFile : public wxGDIObject
+class WXDLLIMPEXP_CORE wxEnhMetaFile : public wxGDIObject
 {
 public:
     wxEnhMetaFile(const wxString& file = wxEmptyString) : m_filename(file)
@@ -73,7 +73,7 @@ private:
 // wxEnhMetaFileDC: allows to create a wxEnhMetaFile
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxEnhMetaFileDC : public wxDC
+class WXDLLIMPEXP_CORE wxEnhMetaFileDC : public wxDC
 {
 public:
     // the ctor parameters specify the filename (empty for memory metafiles),
@@ -99,7 +99,7 @@ private:
 
 // notice that we want to support both CF_METAFILEPICT and CF_ENHMETAFILE and
 // so we derive from wxDataObject and not from wxDataObjectSimple
-class WXDLLEXPORT wxEnhMetaFileDataObject : public wxDataObject
+class WXDLLIMPEXP_CORE wxEnhMetaFileDataObject : public wxDataObject
 {
 public:
     // ctors
@@ -137,7 +137,7 @@ protected:
 // CF_ENHMETAFILE
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxEnhMetaFileSimpleDataObject : public wxDataObjectSimple
+class WXDLLIMPEXP_CORE wxEnhMetaFileSimpleDataObject : public wxDataObjectSimple
 {
 public:
     // ctors
index fcc4ce9ef8d5bbf65c4bbbd3877bbcf6df0ad984..6cd10d6245b5aee11ae5ced1f978e51c8a40118b 100644 (file)
@@ -16,7 +16,7 @@
 // wxEventLoop
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGUIEventLoop : public wxEventLoopBase
+class WXDLLIMPEXP_CORE wxGUIEventLoop : public wxEventLoopBase
 {
 public:
     wxGUIEventLoop();
index b09971e0fdb940c5f6b0ebd2e8750e169c8d9adb..e28870f29ae9963ec67c63b96fc029fa02b6689b 100644 (file)
@@ -16,7 +16,7 @@
 // wxFindReplaceDialog: dialog for searching / replacing text
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFindReplaceDialog : public wxFindReplaceDialogBase
+class WXDLLIMPEXP_CORE wxFindReplaceDialog : public wxFindReplaceDialogBase
 {
 public:
     // ctors and such
index 3baac18463361d3d221bdb15c2488f46a720af61..ca9ecafbd2ec81f29bb4ad491d1c348053876799 100644 (file)
@@ -16,7 +16,7 @@
 // wxFileDialog
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileDialog: public wxFileDialogBase
+class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase
 {
 public:
     wxFileDialog(wxWindow *parent,
index 17385a29a9615ed9a2eb4e9421b77f4089753254..7319b4638f73974894c7f7f70674c09f350325d6 100644 (file)
@@ -18,7 +18,7 @@
 // wxFont
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFont : public wxFontBase
+class WXDLLIMPEXP_CORE wxFont : public wxFontBase
 {
 public:
     // ctors and such
index 7fb66d71e563c87a2bdf1740c20ccb727d3f1086..3c3dcbf85fe238e04a574b18d8e1b2750fc198d3 100644 (file)
@@ -16,7 +16,7 @@
 // wxFontDialog
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFontDialog : public wxFontDialogBase
+class WXDLLIMPEXP_CORE wxFontDialog : public wxFontDialogBase
 {
 public:
     wxFontDialog() : wxFontDialogBase() { /* must be Create()d later */ }
index 9f1d190bf4c96b5cec34047e7853bfb4f14b6267..ed9166a712cbb2e80e0aeee775ac46a7e9d2dec0 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_FRAME_H_
 #define _WX_FRAME_H_
 
-class WXDLLEXPORT wxFrame : public wxFrameBase
+class WXDLLIMPEXP_CORE wxFrame : public wxFrameBase
 {
 public:
     // construction
index b3de89d800f0064593b1d812cfe3ae1f5c380fc7..97c413b68431b87e78e4f3683a6f30c2aa91dda6 100644 (file)
 
 #if wxUSE_GAUGE
 
-WXDLLEXPORT_DATA(extern const wxChar) wxGaugeNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const wxChar) wxGaugeNameStr[];
 
 // Group box
-class WXDLLEXPORT wxGauge : public wxGaugeBase
+class WXDLLIMPEXP_CORE wxGauge : public wxGaugeBase
 {
 public:
     wxGauge() { }
index debcecebfac6f04acf022849bfb44e0b001528b7..512d373a28d07fc54cdb78627de2608241aed97b 100644 (file)
@@ -30,7 +30,7 @@ WX_DECLARE_EXPORTED_LIST(wxGDIImageHandler, wxGDIImageHandlerList);
 // wxGDIImageRefData: common data fields for all derived classes
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGDIImageRefData : public wxGDIRefData
+class WXDLLIMPEXP_CORE wxGDIImageRefData : public wxGDIRefData
 {
 public:
     wxGDIImageRefData()
@@ -70,7 +70,7 @@ public:
 // wxGDIImageHandler: a class which knows how to load/save wxGDIImages.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGDIImageHandler : public wxObject
+class WXDLLIMPEXP_CORE wxGDIImageHandler : public wxObject
 {
 public:
     // ctor
@@ -117,7 +117,7 @@ protected:
 // format. It also falls back to wxImage if no appropriate image is found.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGDIImage : public wxGDIObject
+class WXDLLIMPEXP_CORE wxGDIImage : public wxGDIObject
 {
 public:
     // handlers list interface
index 3b4e831fdbc536542c5584a07f4d965b871ed847..379c5bf7d9a8bf48bde0f06ee5837af2a714efcc 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "wx/helpbase.h"
 
-class WXDLLEXPORT wxPalmHelpController: public wxHelpControllerBase
+class WXDLLIMPEXP_CORE wxPalmHelpController: public wxHelpControllerBase
 {
     DECLARE_CLASS(wxPalmHelpController)
 
index 5b1cc588ce2ac65c137717357a5203c728800502..7f910d68d9dcbf110c923425d707259e687cbacf 100644 (file)
@@ -32,7 +32,7 @@
 // now, the app must take care of ownership issues. That is, the
 // image lists must be explicitly deleted after the control(s) that uses them
 // is (are) deleted, or when the app exits.
-class WXDLLEXPORT wxImageList : public wxObject
+class WXDLLIMPEXP_CORE wxImageList : public wxObject
 {
 public:
   /*
index 1bf96f567aa0e6204735c5c94adbbbdc2ad92bc1..9cbd0a71a29466f3251b7c9bb9a810f12c0f2b0b 100644 (file)
@@ -34,7 +34,7 @@ class wxArrayInt;
 // List box control
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxListBox : public wxListBoxBase
+class WXDLLIMPEXP_CORE wxListBox : public wxListBoxBase
 {
 public:
     // ctors and such
index 7309d66b7006eef738fa05665bc2bc98b5ef08e6..88372b49ade151a20dfbb0c70d2961c38730bdab 100644 (file)
@@ -73,7 +73,7 @@ class WXDLLIMPEXP_FWD_CORE wxImageList;
 
  */
 
-class WXDLLEXPORT wxListCtrl: public wxControl
+class WXDLLIMPEXP_CORE wxListCtrl: public wxControl
 {
 public:
     /*
index 2743319b6868c5e2badd53c2717eeb00054d1d08..e4d3f07c86f8ac7ec6a257822fbd12266e99c56d 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/frame.h"
 
-WXDLLEXPORT_DATA(extern const wxChar) wxStatusLineNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const wxChar) wxStatusLineNameStr[];
 
 class WXDLLIMPEXP_FWD_CORE wxMDIClientWindow;
 class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
@@ -23,7 +23,7 @@ class WXDLLIMPEXP_FWD_CORE wxMDIChildFrame;
 // wxMDIParentFrame
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMDIParentFrame : public wxFrame
+class WXDLLIMPEXP_CORE wxMDIParentFrame : public wxFrame
 {
 public:
     wxMDIParentFrame();
@@ -110,7 +110,7 @@ private:
 // wxMDIChildFrame
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMDIChildFrame : public wxFrame
+class WXDLLIMPEXP_CORE wxMDIChildFrame : public wxFrame
 {
 public:
     wxMDIChildFrame() { Init(); }
@@ -183,7 +183,7 @@ private:
 // wxMDIClientWindow
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMDIClientWindow : public wxWindow
+class WXDLLIMPEXP_CORE wxMDIClientWindow : public wxWindow
 {
 public:
     wxMDIClientWindow() { Init(); }
index 6859d70bbb7bc3ea7504f8fd769ce8ee39846d31..fd27224ec01ba925dcbee8881b85f98f84a684f7 100644 (file)
@@ -31,7 +31,7 @@ class WXDLLIMPEXP_FWD_CORE wxToolBar;
 // Menu
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenu : public wxMenuBase
+class WXDLLIMPEXP_CORE wxMenu : public wxMenuBase
 {
 public:
     // ctors & dtor
@@ -103,7 +103,7 @@ private:
 // Menu Bar (a la Windows)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenuInfo : public wxObject
+class WXDLLIMPEXP_CORE wxMenuInfo : public wxObject
 {
 public :
     wxMenuInfo() { m_menu = NULL ; }
@@ -122,7 +122,7 @@ private :
 
 WX_DECLARE_EXPORTED_LIST(wxMenuInfo, wxMenuInfoList );
 
-class WXDLLEXPORT wxMenuBar : public wxMenuBarBase
+class WXDLLIMPEXP_CORE wxMenuBar : public wxMenuBarBase
 {
 public:
     // ctors & dtor
index df01b0092f096c13fa206291c4cb1a9ec3fd5b95..b9cec3003fca2f23964fe9409118ac437711cfaa 100644 (file)
@@ -24,7 +24,7 @@
 // wxMenuItem: an item in the menu, optionally implements owner-drawn behaviour
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenuItem : public wxMenuItemBase
+class WXDLLIMPEXP_CORE wxMenuItem : public wxMenuItemBase
 #if wxUSE_OWNER_DRAWN
                              , public wxOwnerDrawn
 #endif
index 3a0c60eb8af91917e9666ea00fc8b07714ae16aa..0986bcb4bae4f0edef6fc9b7495bfa8c52a852ca 100644 (file)
@@ -25,7 +25,7 @@
 
 class WXDLLIMPEXP_FWD_CORE wxMetafile;
 
-class WXDLLEXPORT wxMetafileRefData: public wxGDIRefData
+class WXDLLIMPEXP_CORE wxMetafileRefData: public wxGDIRefData
 {
 public:
     wxMetafileRefData();
@@ -43,7 +43,7 @@ public:
 
 #define M_METAFILEDATA ((wxMetafileRefData *)m_refData)
 
-class WXDLLEXPORT wxMetafile: public wxGDIObject
+class WXDLLIMPEXP_CORE wxMetafile: public wxGDIObject
 {
 public:
     wxMetafile(const wxString& file = wxEmptyString);
@@ -73,7 +73,7 @@ private:
     DECLARE_DYNAMIC_CLASS(wxMetafile)
 };
 
-class WXDLLEXPORT wxMetafileDC: public wxDC
+class WXDLLIMPEXP_CORE wxMetafileDC: public wxDC
 {
 public:
     // Don't supply origin and extent
@@ -115,10 +115,10 @@ private:
  */
 
 // No origin or extent
-bool WXDLLEXPORT wxMakeMetafilePlaceable(const wxString& filename, float scale = 1.0);
+bool WXDLLIMPEXP_CORE wxMakeMetafilePlaceable(const wxString& filename, float scale = 1.0);
 
 // Optional origin and extent
-bool WXDLLEXPORT wxMakeMetaFilePlaceable(const wxString& filename, int x1, int y1, int x2, int y2, float scale = 1.0, bool useOriginAndExtent = TRUE);
+bool WXDLLIMPEXP_CORE wxMakeMetaFilePlaceable(const wxString& filename, int x1, int y1, int x2, int y2, float scale = 1.0, bool useOriginAndExtent = TRUE);
 
 // ----------------------------------------------------------------------------
 // wxMetafileDataObject is a specialization of wxDataObject for metafile data
@@ -126,7 +126,7 @@ bool WXDLLEXPORT wxMakeMetaFilePlaceable(const wxString& filename, int x1, int y
 
 #if wxUSE_DRAG_AND_DROP
 
-class WXDLLEXPORT wxMetafileDataObject : public wxDataObjectSimple
+class WXDLLIMPEXP_CORE wxMetafileDataObject : public wxDataObjectSimple
 {
 public:
     // ctors
index 64862e1a6426dc0e8c702d3efd8f52bba31976a8..59f6442e6e3dc52ed32298a27b0492af080ad881 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/frame.h"
 
-class WXDLLEXPORT wxMiniFrame : public wxFrame
+class WXDLLIMPEXP_CORE wxMiniFrame : public wxFrame
 {
 public:
   wxMiniFrame() { }
index 2fadd44d00990d7c4112d948cdce25aaab6aff4e..e337c0c7e341a76e4362aabce899565dec6b9979 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_MSGBOXDLG_H_
 #define _WX_MSGBOXDLG_H_
 
-class WXDLLEXPORT wxMessageDialog : public wxMessageDialogBase
+class WXDLLIMPEXP_CORE wxMessageDialog : public wxMessageDialogBase
 {
 public:
     wxMessageDialog(wxWindow *parent,
index 084e5d74e8bd7ed2794b8c9cc00c461787e070e5..908d22fd8050608f9856afd3cd6b384b303278af 100644 (file)
@@ -33,7 +33,7 @@ inline bool wxUsingUnicowsDll()
 
 #if wxUSE_GUI
 
-WXDLLEXPORT int wxMSLU_DrawStateW(WXHDC dc, WXHBRUSH br, WXFARPROC outputFunc,
+WXDLLIMPEXP_CORE int wxMSLU_DrawStateW(WXHDC dc, WXHBRUSH br, WXFARPROC outputFunc,
                                   WXLPARAM lData, WXWPARAM wData,
                                   int x, int y, int cx, int cy,
                                   unsigned int flags);
@@ -41,10 +41,10 @@ WXDLLEXPORT int wxMSLU_DrawStateW(WXHDC dc, WXHBRUSH br, WXFARPROC outputFunc,
     wxMSLU_DrawStateW((WXHDC)dc,(WXHBRUSH)br,(WXFARPROC)func, \
                       ld, wd, x, y, cx, cy, flags)
 
-WXDLLEXPORT int wxMSLU_GetOpenFileNameW(void *ofn);
+WXDLLIMPEXP_CORE int wxMSLU_GetOpenFileNameW(void *ofn);
 #define GetOpenFileNameW(ofn) wxMSLU_GetOpenFileNameW((void*)ofn)
 
-WXDLLEXPORT int wxMSLU_GetSaveFileNameW(void *ofn);
+WXDLLIMPEXP_CORE int wxMSLU_GetSaveFileNameW(void *ofn);
 #define GetSaveFileNameW(ofn) wxMSLU_GetSaveFileNameW((void*)ofn)
 
 #endif
@@ -53,8 +53,8 @@ WXDLLEXPORT int wxMSLU_GetSaveFileNameW(void *ofn);
 // Missing libc file manipulation functions in Win9x
 //------------------------------------------------------------------------
 
-WXDLLEXPORT int wxMSLU__trename(const wxChar *oldname, const wxChar *newname);
-WXDLLEXPORT int wxMSLU__tremove(const wxChar *name);
+WXDLLIMPEXP_CORE int wxMSLU__trename(const wxChar *oldname, const wxChar *newname);
+WXDLLIMPEXP_CORE int wxMSLU__tremove(const wxChar *name);
 
 #endif // wxUSE_UNICODE_MSLU
 
index f4ef524cda0bfd9530b3aa52933e0178c87b7870..5a6b32e9099975e1ae8e646ab8bf173960786b47 100644 (file)
@@ -24,7 +24,7 @@
 // wxNotebook
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxNotebookPageInfo : public wxObject
+class WXDLLIMPEXP_CORE wxNotebookPageInfo : public wxObject
 {
 public :
     wxNotebookPageInfo() { m_page = NULL ; m_imageId = -1 ; m_selected = false ; }
@@ -48,7 +48,7 @@ private :
 
 WX_DECLARE_EXPORTED_LIST(wxNotebookPageInfo, wxNotebookPageInfoList );
 
-class WXDLLEXPORT wxNotebook : public wxNotebookBase
+class WXDLLIMPEXP_CORE wxNotebook : public wxNotebookBase
 {
 public:
     // ctors
index 86c6a6970f812011390f54f98b35e296084a8961..f4c1ad4229be3c8a3a64857207aa38bfd2f9fe2f 100644 (file)
@@ -16,7 +16,7 @@
 
 class WXDLLIMPEXP_FWD_CORE wxPalette;
 
-class WXDLLEXPORT wxPaletteRefData: public wxGDIRefData
+class WXDLLIMPEXP_CORE wxPaletteRefData: public wxGDIRefData
 {
     friend class WXDLLIMPEXP_FWD_CORE wxPalette;
 public:
@@ -28,7 +28,7 @@ protected:
 
 #define M_PALETTEDATA ((wxPaletteRefData *)m_refData)
 
-class WXDLLEXPORT wxPalette: public wxPaletteBase
+class WXDLLIMPEXP_CORE wxPalette: public wxPaletteBase
 {
   DECLARE_DYNAMIC_CLASS(wxPalette)
 
index 0afaf1c92599dbb6ff34a1b044ed4e9d98d285fc..aa8e6443141dae19f78f44e4278218111e35bfb1 100644 (file)
@@ -21,7 +21,7 @@ typedef WXDWORD wxMSWDash;
 class WXDLLIMPEXP_FWD_CORE wxPen;
 
 // VZ: this class should be made private
-class WXDLLEXPORT wxPenRefData : public wxGDIRefData
+class WXDLLIMPEXP_CORE wxPenRefData : public wxGDIRefData
 {
 public:
     wxPenRefData();
@@ -71,7 +71,7 @@ private:
 // Pen
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPen : public wxPenBase
+class WXDLLIMPEXP_CORE wxPen : public wxPenBase
 {
 public:
     wxPen();
index 0317f5172f4206c913ba716e40a00eeba492a877..ec04565614d0b1a75615da5c167c973978a8895c 100644 (file)
@@ -16,7 +16,7 @@
 // wxPopupWindow
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPopupWindow : public wxPopupWindowBase
+class WXDLLIMPEXP_CORE wxPopupWindow : public wxPopupWindowBase
 {
 public:
     wxPopupWindow() { }
index 3276d0e6f0b27dc4ff915fc63814012a5f259ee4..9ba71df71b99613320ce6538803d7fcd803dcda4 100644 (file)
@@ -23,7 +23,7 @@ class WXDLLIMPEXP_FWD_CORE wxDC;
 // wxPrinterDialog: the common dialog for printing.
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPrintDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxPrintDialog : public wxDialog
 {
     DECLARE_DYNAMIC_CLASS(wxPrintDialog)
 
@@ -49,7 +49,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxPrintDialog)
 };
 
-class WXDLLEXPORT wxPageSetupDialog: public wxDialog
+class WXDLLIMPEXP_CORE wxPageSetupDialog: public wxDialog
 {
     DECLARE_DYNAMIC_CLASS(wxPageSetupDialog)
 
index ba2af97c36166cf86ebd60930e944a8c5035fc0d..545643082bddc1b6d81343786a6d396b26a7e157 100644 (file)
@@ -18,7 +18,7 @@
 // Represents the printer: manages printing a wxPrintout object
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPalmPrinter : public wxPrinterBase
+class WXDLLIMPEXP_CORE wxPalmPrinter : public wxPrinterBase
 {
     DECLARE_DYNAMIC_CLASS(wxPalmPrinter)
 
@@ -43,7 +43,7 @@ private:
 // wxPrintout.
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPalmPrintPreview : public wxPrintPreviewBase
+class WXDLLIMPEXP_CORE wxPalmPrintPreview : public wxPrintPreviewBase
 {
 public:
     wxPalmPrintPreview(wxPrintout *printout,
index 08847ee28b30bfd020befa5dd56d767e3308ab00..feac2d5e944aefb0f51b6a8a8cd3574d7ff2b167 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/private/timer.h"
 
-class WXDLLEXPORT wxPalmOSTimerImpl : public wxTimerImpl
+class WXDLLIMPEXP_CORE wxPalmOSTimerImpl : public wxTimerImpl
 {
 friend void wxProcessTimer(wxTimer& timer);
 
index fa897d81f3a21c7cb261876243a88cb059d33466..a6de9ec0b766d88a91b5eb4ae873d5001b351411 100644 (file)
@@ -18,7 +18,7 @@
 
 #include "wx/dialog.h"
 
-class WXDLLEXPORT wxProgressDialog : public wxDialog
+class WXDLLIMPEXP_CORE wxProgressDialog : public wxDialog
 {
 DECLARE_DYNAMIC_CLASS(wxProgressDialog)
 public:
index 4b34521de588b00b1d150937fb971baee8d2ead0..e0b2ec666bb1f7a06b5ec039bfff6620b20deca9 100644 (file)
@@ -19,7 +19,7 @@ class WXDLLIMPEXP_FWD_CORE wxRadioButton;
 // wxRadioBox
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxRadioBox : public wxControl, public wxRadioBoxBase
+class WXDLLIMPEXP_CORE wxRadioBox : public wxControl, public wxRadioBoxBase
 {
 public:
     wxRadioBox():m_radios(wxKEY_INTEGER,32)
index 25c36d35e8e525b61b93cdabb4f184559cd62f6d..7c6f4f201ce61236e453801d8737da3fc123748d 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_RADIOBUT_H_
 #define _WX_RADIOBUT_H_
 
-class WXDLLEXPORT wxRadioButton: public wxControl
+class WXDLLIMPEXP_CORE wxRadioButton: public wxControl
 {
 public:
     // ctors and creation functions
index ce0586c21b285efb141c46f5145c6970401cb8f0..9ca01e8071f19696de31a12614cc17d9d7640abc 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_PALMOS_REGION_H_
 #define _WX_PALMOS_REGION_H_
 
-class WXDLLEXPORT wxRegion : public wxRegionWithCombine
+class WXDLLIMPEXP_CORE wxRegion : public wxRegionWithCombine
 {
 public:
     wxRegion();
@@ -60,7 +60,7 @@ protected:
     DECLARE_DYNAMIC_CLASS(wxRegion)
 };
 
-class WXDLLEXPORT wxRegionIterator : public wxObject
+class WXDLLIMPEXP_CORE wxRegionIterator : public wxObject
 {
 public:
     wxRegionIterator() { Init(); }
index edcc06dca046a29e7f5f6e00a77bdfa2c390edc6..e0c3624fa9743fed480127482919541bbb5f56c5 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_SCROLBAR_H_
 
 // Scrollbar item
-class WXDLLEXPORT wxScrollBar: public wxScrollBarBase
+class WXDLLIMPEXP_CORE wxScrollBar: public wxScrollBarBase
 {
 public:
     wxScrollBar() { m_pageSize = 0; m_viewSize = 0; m_objectSize = 0; }
index 263e4a715308f7d10c45e80c6254945855f9af20..078d5d23ec7e9cb7c34e3dff4de0fd3b7bd4d1d7 100644 (file)
@@ -13,7 +13,7 @@
 #define _SLIDERPALM_H_
 
 // Slider
-class WXDLLEXPORT wxSlider : public wxSliderBase
+class WXDLLIMPEXP_CORE wxSlider : public wxSliderBase
 {
 public:
     wxSlider()
index c745738edc7e198a3bf9f85918a6fc01c88d94d1..e6cc319c4411e06bd5306c5964a0be119d1016f9 100644 (file)
@@ -15,7 +15,7 @@
 #include "wx/control.h"
 #include "wx/event.h"
 
-class WXDLLEXPORT wxSpinButton : public wxSpinButtonBase
+class WXDLLIMPEXP_CORE wxSpinButton : public wxSpinButtonBase
 {
 public:
     // construction
index d0237f13469cf63abd46ab4c3a7b0ecd88d3d0bc..677c3406255d9667d03d14299136d62eea1ccf73 100644 (file)
@@ -25,7 +25,7 @@ WX_DEFINE_EXPORTED_ARRAY_PTR(wxSpinCtrl *, wxArraySpins);
 // control is clicked.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSpinCtrl : public wxSpinButton
+class WXDLLIMPEXP_CORE wxSpinCtrl : public wxSpinButton
 {
 public:
     wxSpinCtrl() { }
index 4372ce743b4dff556c3d52d432815ad7e8c07d75..b54ec30d9cf2156bd99e47be6c746e9a11c02613 100644 (file)
 #include "wx/icon.h"
 #include "wx/bitmap.h"
 
-WXDLLEXPORT_DATA(extern const wxChar) wxStaticBitmapNameStr[];
+WXDLLIMPEXP_DATA_CORE(extern const wxChar) wxStaticBitmapNameStr[];
 
 // a control showing an icon or a bitmap
-class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase
+class WXDLLIMPEXP_CORE wxStaticBitmap : public wxStaticBitmapBase
 {
 public:
     wxStaticBitmap() { Init(); }
index 14972db4cf0a652b2fb81374b54b9b07f57dd910..27931fae5a937285b926c1257e03fe5947e09e94 100644 (file)
@@ -13,7 +13,7 @@
 #define _WX_STATBOX_H_
 
 // Group box
-class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase
+class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
 {
 public:
     wxStaticBox() { }
index 3101682bea841447fa781de0d427fac148f34a07..88854ee9b2da82af0caf7b808f7173ac0d8a8de1 100644 (file)
@@ -16,7 +16,7 @@
 // wxStaticLine
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStaticLine : public wxStaticLineBase
+class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase
 {
 public:
     // constructors and pseudo-constructors
index 50aa42f64da4fddf1b9425d7cccd3284b3401794..eb1c9d3ba73be258d74ebbc9f3fb5e60ff13c36b 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_STATTEXT_H_
 #define _WX_STATTEXT_H_
 
-class WXDLLEXPORT wxStaticText : public wxStaticTextBase
+class WXDLLIMPEXP_CORE wxStaticText : public wxStaticTextBase
 {
 public:
     wxStaticText() { }
index ee376f8841979e3837aa6e4e5d2cc4571b5d1fb7..af51252d21943d6c78301b2256e892d61724e116 100644 (file)
@@ -14,7 +14,7 @@
 
 #if wxUSE_NATIVE_STATUSBAR
 
-class WXDLLEXPORT wxStatusBarPalm : public wxStatusBarBase
+class WXDLLIMPEXP_CORE wxStatusBarPalm : public wxStatusBarBase
 {
 public:
     // ctors and such
index f0a5207017598b55be05b3b6def05b317917c747..6a2b60eec18a4452592b2e8531273c4f687cc3bb 100644 (file)
@@ -14,7 +14,7 @@
 
 class wxImageList;
 
-// WXDLLEXPORT_DATA(extern const wxChar) wxToolBarNameStr[];
+// WXDLLIMPEXP_DATA_CORE(extern const wxChar) wxToolBarNameStr[];
 
 /*
  * Flags returned by HitTest
@@ -25,7 +25,7 @@ class wxImageList;
 #define wxTAB_HITTEST_ONLABEL           4
 #define wxTAB_HITTEST_ONITEM            6
 
-class WXDLLEXPORT wxTabCtrl: public wxControl
+class WXDLLIMPEXP_CORE wxTabCtrl: public wxControl
 {
   DECLARE_DYNAMIC_CLASS(wxTabCtrl)
  public:
@@ -120,7 +120,7 @@ DECLARE_EVENT_TABLE()
     DECLARE_NO_COPY_CLASS(wxTabCtrl)
 };
 
-class WXDLLEXPORT wxTabEvent : public wxNotifyEvent
+class WXDLLIMPEXP_CORE wxTabEvent : public wxNotifyEvent
 {
 public:
     wxTabEvent(wxEventType commandType = wxEVT_NULL, int id = 0,
index 930890eee8d9363a55ecaec82c649d0c8ee7ad6e..4d9fc4c4140ded2c68f5cdb3a523c6176b13e945 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_TEXTCTRL_H_
 #define _WX_TEXTCTRL_H_
 
-class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase
+class WXDLLIMPEXP_CORE wxTextCtrl : public wxTextCtrlBase
 {
 public:
     // creation
index 8e0b1d04532a15e79f83e0a903be7310bdeb1d04..ff31ea7e2aa500e18346a49b2172235937640235 100644 (file)
 #define _WX_TOGGLEBUTTON_H_
 
 #include "wx/checkbox.h" // wxCheckBoxNameStr, in Datacmn.cpp
-//WXDLLEXPORT_DATA(extern const wxChar) wxCheckBoxNameStr[];
+//WXDLLIMPEXP_DATA_CORE(extern const wxChar) wxCheckBoxNameStr[];
 
 // Checkbox item (single checkbox)
-class WXDLLEXPORT wxToggleButton : public wxToggleButtonBase
+class WXDLLIMPEXP_CORE wxToggleButton : public wxToggleButtonBase
 {
 public:
     wxToggleButton() {}
index 4e4d85455ed72abca8b9befd3f4afdeeaa508a62..27b9291093e12547c249576e53abe7dc5ed7e118 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "wx/dynarray.h"
 
-class WXDLLEXPORT wxToolBar : public wxToolBarBase
+class WXDLLIMPEXP_CORE wxToolBar : public wxToolBarBase
 {
 public:
     // ctors and dtor
index a7af972c54c99a852b30416a11dae6b50f3ed757..31b05273cc61fd8cdc8c838601155aa15182bc6d 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_PALMOS_TOOLTIP_H_
 #define _WX_PALMOS_TOOLTIP_H_
 
-class WXDLLEXPORT wxToolTip : public wxObject
+class WXDLLIMPEXP_CORE wxToolTip : public wxObject
 {
 public:
     // ctor & dtor
index a931c9e3b9bd9058ad96565fc8a306b232f17bb1..c6909432597c95f52183885df5d553adf3667494 100644 (file)
@@ -16,7 +16,7 @@
 // wxTopLevelWindowPalm
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTopLevelWindowPalm : public wxTopLevelWindowBase
+class WXDLLIMPEXP_CORE wxTopLevelWindowPalm : public wxTopLevelWindowBase
 {
 public:
     // constructors and such
index 7c235454df96a427c49e9d5e0497f97f1927d45d..9349196ef706de179841f85ad70f53f6836ec049 100644 (file)
@@ -24,8 +24,8 @@
 #include "wx/hashmap.h"
 
 // fwd decl
-class  WXDLLEXPORT wxImageList;
-class  WXDLLEXPORT wxDragImage;
+class  WXDLLIMPEXP_CORE wxImageList;
+class  WXDLLIMPEXP_CORE wxDragImage;
 struct WXDLLIMPEXP_FWD_CORE wxTreeViewItem;
 
 // hash storing attributes for our items
@@ -35,7 +35,7 @@ WX_DECLARE_EXPORTED_VOIDPTR_HASH_MAP(wxTreeItemAttr *, wxMapTreeAttr);
 // wxTreeCtrl
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTreeCtrl : public wxControl
+class WXDLLIMPEXP_CORE wxTreeCtrl : public wxControl
 {
 public:
     // creation
index 25965867b91b5b33f193fc156b8167f6076b712e..09c8d5dd9f8e08476b81ecfd23459eb0cc1b770f 100644 (file)
@@ -27,7 +27,7 @@
 // wxWindow declaration for Palm
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowPalm : public wxWindowBase
+class WXDLLIMPEXP_CORE wxWindowPalm : public wxWindowBase
 {
 public:
     wxWindowPalm() { Init(); }
index 2d2bf3f7b5e6cd68dc2c7be908ec1f80bd84a991..5b42a80bed1526d54832868b39d6f4e5233ba8e9 100644 (file)
@@ -30,7 +30,7 @@
 #define WXADDPAPER(paperId, platformId, name, w, h) AddPaperType(paperId, 0, name, w, h)
 #endif
 
-class WXDLLEXPORT wxPrintPaperType: public wxObject
+class WXDLLIMPEXP_CORE wxPrintPaperType: public wxObject
 {
 public:
     wxPrintPaperType();
@@ -70,7 +70,7 @@ WX_DECLARE_STRING_HASH_MAP(wxPrintPaperType*, wxStringToPrintPaperTypeHashMap);
 
 class WXDLLIMPEXP_FWD_CORE wxPrintPaperTypeList;
 
-class WXDLLEXPORT wxPrintPaperDatabase
+class WXDLLIMPEXP_CORE wxPrintPaperDatabase
 {
 public:
     wxPrintPaperDatabase();
@@ -115,7 +115,7 @@ private:
     // DECLARE_DYNAMIC_CLASS(wxPrintPaperDatabase)
 };
 
-extern WXDLLEXPORT_DATA(wxPrintPaperDatabase*) wxThePrintPaperDatabase;
+extern WXDLLIMPEXP_DATA_CORE(wxPrintPaperDatabase*) wxThePrintPaperDatabase;
 
 
 #endif
index b94486f364297717e880d30f7b1191e2a905ce93..379f560c445076ab462b4b6f1bca543f799e349f 100644 (file)
@@ -62,7 +62,7 @@ enum wxPenCap
 };
 
 
-class WXDLLEXPORT wxPenBase : public wxGDIObject
+class WXDLLIMPEXP_CORE wxPenBase : public wxGDIObject
 {
 public:
     virtual ~wxPenBase() { }
@@ -130,7 +130,7 @@ public:
 #endif
 };
 
-extern WXDLLEXPORT_DATA(wxPenList*)   wxThePenList;
+extern WXDLLIMPEXP_DATA_CORE(wxPenList*)   wxThePenList;
 
 // provide comparison operators to allow code such as
 //
index e8c6cf0d8ea9e23d854aa8e699018f52dbc9ed7e..1982838cc28906d4fe7d20f996d241b9573508d3 100644 (file)
@@ -19,7 +19,7 @@
 class WXDLLIMPEXP_FWD_CORE wxTextCtrl;
 class WXDLLIMPEXP_FWD_CORE wxToolTip;
 
-extern WXDLLEXPORT_DATA(const char) wxButtonNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxButtonNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxPickerBase is the base class for the picker controls which support
index 72f2518c26ba1f725105aa9dc1f059ba121dab65..6e10cc2c36935f5d38e027b152099b2295023e94 100644 (file)
@@ -23,7 +23,7 @@
 // combobox popups and such.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPopupWindowBase : public wxNonOwnedWindow
+class WXDLLIMPEXP_CORE wxPopupWindowBase : public wxNonOwnedWindow
 {
 public:
     wxPopupWindowBase() { }
@@ -82,7 +82,7 @@ public:
 class WXDLLIMPEXP_FWD_CORE wxPopupWindowHandler;
 class WXDLLIMPEXP_FWD_CORE wxPopupFocusHandler;
 
-class WXDLLEXPORT wxPopupTransientWindow : public wxPopupWindow
+class WXDLLIMPEXP_CORE wxPopupTransientWindow : public wxPopupWindow
 {
 public:
     // ctors
@@ -162,7 +162,7 @@ protected:
 class WXDLLIMPEXP_FWD_CORE wxComboBox;
 class WXDLLIMPEXP_FWD_CORE wxComboCtrl;
 
-class WXDLLEXPORT wxPopupComboWindow : public wxPopupTransientWindow
+class WXDLLIMPEXP_CORE wxPopupComboWindow : public wxPopupTransientWindow
 {
 public:
     wxPopupComboWindow() { m_combo = NULL; }
index 6079f4a1001e08de177c4c886d9f068669dd4321..18892799046cfd5f50fd4231c9a88ab557bfa78b 100644 (file)
@@ -26,7 +26,7 @@
 // wxPrintDialogBase: interface for the dialog for printing
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPrintDialogBase : public wxDialog
+class WXDLLIMPEXP_CORE wxPrintDialogBase : public wxDialog
 {
 public:
     wxPrintDialogBase() { }
@@ -50,7 +50,7 @@ private:
 // wxPrintDialog: the dialog for printing.
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPrintDialog : public wxObject
+class WXDLLIMPEXP_CORE wxPrintDialog : public wxObject
 {
 public:
     wxPrintDialog(wxWindow *parent, wxPrintDialogData* data = NULL);
@@ -75,7 +75,7 @@ private:
 // wxPageSetupDialogBase: interface for the page setup dialog
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPageSetupDialogBase: public wxDialog
+class WXDLLIMPEXP_CORE wxPageSetupDialogBase: public wxDialog
 {
 public:
     wxPageSetupDialogBase() { }
@@ -97,7 +97,7 @@ private:
 // wxPageSetupDialog: the page setup dialog
 // ---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPageSetupDialog: public wxObject
+class WXDLLIMPEXP_CORE wxPageSetupDialog: public wxObject
 {
 public:
     wxPageSetupDialog(wxWindow *parent, wxPageSetupDialogData *data = NULL);
index 1dd863792724f6a37bf0f50de8e76977838beb30..b20a9f6cd51b34fdb2a5204d07ec99016988a6ca 100644 (file)
@@ -55,7 +55,7 @@ enum wxPrinterError
 // wxPrintFactory
 //----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPrintFactory
+class WXDLLIMPEXP_CORE wxPrintFactory
 {
 public:
     wxPrintFactory() {}
@@ -102,7 +102,7 @@ private:
     static wxPrintFactory *m_factory;
 };
 
-class WXDLLEXPORT wxNativePrintFactory: public wxPrintFactory
+class WXDLLIMPEXP_CORE wxNativePrintFactory: public wxPrintFactory
 {
 public:
     virtual wxPrinterBase *CreatePrinter( wxPrintDialogData *data );
@@ -139,7 +139,7 @@ public:
 // wxPrintNativeDataBase
 //----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPrintNativeDataBase: public wxObject
+class WXDLLIMPEXP_CORE wxPrintNativeDataBase: public wxObject
 {
 public:
     wxPrintNativeDataBase();
@@ -166,7 +166,7 @@ private:
  * Represents the printer: manages printing a wxPrintout object
  */
 
-class WXDLLEXPORT wxPrinterBase: public wxObject
+class WXDLLIMPEXP_CORE wxPrinterBase: public wxObject
 {
 public:
     wxPrinterBase(wxPrintDialogData *data = (wxPrintDialogData *) NULL);
@@ -206,7 +206,7 @@ private:
 // wxPrinter
 //----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPrinter: public wxPrinterBase
+class WXDLLIMPEXP_CORE wxPrinter: public wxPrinterBase
 {
 public:
     wxPrinter(wxPrintDialogData *data = (wxPrintDialogData *) NULL);
@@ -240,7 +240,7 @@ private:
  * object for previewing.
  */
 
-class WXDLLEXPORT wxPrintout: public wxObject
+class WXDLLIMPEXP_CORE wxPrintout: public wxObject
 {
 public:
     wxPrintout(const wxString& title = wxT("Printout"));
@@ -327,7 +327,7 @@ private:
  * Canvas upon which a preview is drawn.
  */
 
-class WXDLLEXPORT wxPreviewCanvas: public wxScrolledWindow
+class WXDLLIMPEXP_CORE wxPreviewCanvas: public wxScrolledWindow
 {
 public:
     wxPreviewCanvas(wxPrintPreviewBase *preview,
@@ -363,7 +363,7 @@ private:
  * Default frame for showing preview.
  */
 
-class WXDLLEXPORT wxPreviewFrame: public wxFrame
+class WXDLLIMPEXP_CORE wxPreviewFrame: public wxFrame
 {
 public:
     wxPreviewFrame(wxPrintPreviewBase *preview,
@@ -427,7 +427,7 @@ private:
 #define wxID_PREVIEW_LAST       7
 #define wxID_PREVIEW_GOTO       8
 
-class WXDLLEXPORT wxPreviewControlBar: public wxPanel
+class WXDLLIMPEXP_CORE wxPreviewControlBar: public wxPanel
 {
     DECLARE_CLASS(wxPreviewControlBar)
 
@@ -488,7 +488,7 @@ private:
  * Programmer creates an object of this class to preview a wxPrintout.
  */
 
-class WXDLLEXPORT wxPrintPreviewBase: public wxObject
+class WXDLLIMPEXP_CORE wxPrintPreviewBase: public wxObject
 {
 public:
     wxPrintPreviewBase(wxPrintout *printout,
@@ -586,7 +586,7 @@ private:
 // wxPrintPreview
 //----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPrintPreview: public wxPrintPreviewBase
+class WXDLLIMPEXP_CORE wxPrintPreview: public wxPrintPreviewBase
 {
 public:
     wxPrintPreview(wxPrintout *printout,
@@ -638,7 +638,7 @@ private:
 // wxPrintAbortDialog
 //----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPrintAbortDialog: public wxDialog
+class WXDLLIMPEXP_CORE wxPrintAbortDialog: public wxDialog
 {
 public:
     wxPrintAbortDialog(wxWindow *parent,
index 6726d176f992af1de7a57c4d9d60d193dbd70c8b..2c01c1d72a10954b2d0aea192a334c550b03e583 100644 (file)
@@ -34,7 +34,7 @@ class WXDLLIMPEXP_FWD_CORE wxPalette;
 #define wxQUANTIZE_RETURN_8BIT_DATA             0x02
 #define wxQUANTIZE_FILL_DESTINATION_IMAGE       0x04
 
-class WXDLLEXPORT wxQuantize: public wxObject
+class WXDLLIMPEXP_CORE wxQuantize: public wxObject
 {
 public:
 DECLARE_DYNAMIC_CLASS(wxQuantize)
index de331d09dc3b5da0e7cb772e2b5b6adbd716c190..153927aec8d771f953dddfd64d98f055d92b7c8f 100644 (file)
@@ -26,7 +26,7 @@ WX_DEFINE_EXPORTED_ARRAY_PTR(wxToolTip *, wxToolTipArray);
 
 #endif // wxUSE_TOOLTIPS
 
-extern WXDLLEXPORT_DATA(const char) wxRadioBoxNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxRadioBoxNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxRadioBoxBase is not a normal base class, but rather a mix-in because the
@@ -34,7 +34,7 @@ extern WXDLLEXPORT_DATA(const char) wxRadioBoxNameStr[];
 // example, it is a wxStaticBox in wxUniv and wxMSW but not in other ports
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxRadioBoxBase : public wxItemContainerImmutable
+class WXDLLIMPEXP_CORE wxRadioBoxBase : public wxItemContainerImmutable
 {
 public:
     virtual ~wxRadioBoxBase();
index 831655702eb6b805d55bb654e9d5e9dc37fffb95..33b04ef936559a50988748464ef3fd41cda4ed0b 100644 (file)
@@ -33,7 +33,7 @@
 
 #include "wx/control.h"
 
-extern WXDLLEXPORT_DATA(const char) wxRadioButtonNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxRadioButtonNameStr[];
 
 #if defined(__WXUNIVERSAL__)
     #include "wx/univ/radiobut.h"
index 3e599a602b287855d457b70de368a9f31d7cb957..9de976c0eaedf497921a1fd6f93d588d00e6f125 100644 (file)
@@ -72,7 +72,7 @@
  */
 
 /*
-    Note: we do not use WXDLLEXPORT with classes in this file because VC++ has
+    Note: we do not use WXDLLIMPEXP_CORE with classes in this file because VC++ has
     problems with exporting inner class defined inside a specialization of a
     template class from a DLL. Besides, as all the methods are inline it's not
     really necessary to put them in DLL at all.
index e2c82500b4d6f0ec7285291513ab2d216142a113..1b1f627953efeb3a282fd2470762a33303b5ee60 100644 (file)
@@ -55,7 +55,7 @@ enum wxRegionOp
 // wxRegionBase defines wxRegion API
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxRegionBase : public wxGDIObject
+class WXDLLIMPEXP_CORE wxRegionBase : public wxGDIObject
 {
 public:
     // ctors
@@ -188,7 +188,7 @@ protected:
 
 #define wxHAS_REGION_COMBINE
 
-class WXDLLEXPORT wxRegionWithCombine : public wxRegionBase
+class WXDLLIMPEXP_CORE wxRegionWithCombine : public wxRegionBase
 {
 public:
     // these methods are not part of public API as they're not implemented on
index 2097782e73b64d787780bd161abddbbc15ad9da8..9b842470937ad37466f3d2afa69b3c3725661200 100644 (file)
@@ -75,7 +75,7 @@ enum
 // ----------------------------------------------------------------------------
 
 // wxSplitterWindow parameters
-struct WXDLLEXPORT wxSplitterRenderParams
+struct WXDLLIMPEXP_CORE wxSplitterRenderParams
 {
     // the only way to initialize this struct is by using this ctor
     wxSplitterRenderParams(wxCoord widthSash_, wxCoord border_, bool isSens_)
@@ -95,7 +95,7 @@ struct WXDLLEXPORT wxSplitterRenderParams
 
 
 // extra optional parameters for DrawHeaderButton
-struct WXDLLEXPORT wxHeaderButtonParams
+struct WXDLLIMPEXP_CORE wxHeaderButtonParams
 {
     wxHeaderButtonParams()
         : m_labelAlignment(wxALIGN_LEFT)
@@ -118,7 +118,7 @@ enum wxHeaderSortIconType {
 
 
 // wxRendererNative interface version
-struct WXDLLEXPORT wxRendererVersion
+struct WXDLLIMPEXP_CORE wxRendererVersion
 {
     wxRendererVersion(int version_, int age_) : version(version_), age(age_) { }
 
@@ -152,7 +152,7 @@ struct WXDLLEXPORT wxRendererVersion
 // wxRendererNative: abstracts drawing methods needed by the native controls
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxRendererNative
+class WXDLLIMPEXP_CORE wxRendererNative
 {
 public:
     // drawing functions
@@ -305,7 +305,7 @@ public:
 // wxDelegateRendererNative: allows reuse of renderers code
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDelegateRendererNative : public wxRendererNative
+class WXDLLIMPEXP_CORE wxDelegateRendererNative : public wxRendererNative
 {
 public:
     wxDelegateRendererNative()
index fc46906736c6c874d2bf86d283b219d0933f6d1e..868c0ff593b84cc3527fb26287fa218d5403a74d 100644 (file)
 
 #include "wx/control.h"
 
-extern WXDLLEXPORT_DATA(const char) wxScrollBarNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxScrollBarNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxScrollBar: a scroll bar control
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxScrollBarBase : public wxControl
+class WXDLLIMPEXP_CORE wxScrollBarBase : public wxControl
 {
 public:
     wxScrollBarBase() { }
index 9612721763f957bba5764fd22549674d11264c21..0215586e952b3bba7439ac74820fc6c2c5225ac9 100644 (file)
@@ -48,7 +48,7 @@ class WXDLLIMPEXP_FWD_BASE wxTimer;
 //
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxScrollHelper
+class WXDLLIMPEXP_CORE wxScrollHelper
 {
 public:
     // ctor must be given the associated window
@@ -260,7 +260,7 @@ public:                                                                       \
 // wxScrolledWindow: a wxWindow which knows how to scroll
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxScrolledWindow : public wxPanel,
+class WXDLLIMPEXP_CORE wxScrolledWindow : public wxPanel,
                                      public wxScrollHelperNative
 {
 public:
index b0c0b4e2bad24c5551f9056a0798c8443ac4c5e0..bf5760e336c13180715f0e3564f911ee8f9a126d 100644 (file)
@@ -39,7 +39,7 @@ WX_DEFINE_SORTED_EXPORTED_ARRAY_CMP_SIZE_T(size_t,
 // individual items) without changing its API.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSelectionStore
+class WXDLLIMPEXP_CORE wxSelectionStore
 {
 public:
     wxSelectionStore() : m_itemsSel(wxSizeTCmpFn) { Init(); }
index e49ebcad65fa4ec5318e471f4344059663263e74..4ec32c1b0300c87187c33dd4c98b52f16bff0a0b 100644 (file)
@@ -159,7 +159,7 @@ enum wxSystemScreenType
 // files (i.e. this is not a real base class as we can't override its virtual
 // functions because it doesn't have any)
 
-class WXDLLEXPORT wxSystemSettingsNative
+class WXDLLIMPEXP_CORE wxSystemSettingsNative
 {
 public:
     // get a standard system colour
@@ -179,7 +179,7 @@ public:
 // include the declaration of the real platform-dependent class
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSystemSettings : public wxSystemSettingsNative
+class WXDLLIMPEXP_CORE wxSystemSettings : public wxSystemSettingsNative
 {
 public:
 #ifdef __WXUNIVERSAL__
index bd932e89ce98deb6fe59ecc702a3686a80fa135b..461099389b26b26f321c6e24ff9be7fdfae412a1 100644 (file)
@@ -38,7 +38,7 @@ class WXDLLIMPEXP_FWD_CORE wxSizer;
 // wxSizerFlags: flags used for an item in the sizer
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSizerFlags
+class WXDLLIMPEXP_CORE wxSizerFlags
 {
 public:
     // construct the flags object initialized with the given proportion (0 by
@@ -199,7 +199,7 @@ private:
 // wxSizerSpacer: used by wxSizerItem to represent a spacer
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSizerSpacer
+class WXDLLIMPEXP_CORE wxSizerSpacer
 {
 public:
     wxSizerSpacer(const wxSize& size) : m_size(size), m_isShown(true) { }
@@ -222,7 +222,7 @@ private:
 // wxSizerItem
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSizerItem : public wxObject
+class WXDLLIMPEXP_CORE wxSizerItem : public wxObject
 {
 public:
     // window
@@ -457,7 +457,7 @@ WX_DECLARE_EXPORTED_LIST( wxSizerItem, wxSizerItemList );
 // wxSizer
 //---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSizer: public wxObject, public wxClientDataContainer
+class WXDLLIMPEXP_CORE wxSizer: public wxObject, public wxClientDataContainer
 {
 public:
     wxSizer() { m_containingWindow = NULL; }
@@ -687,7 +687,7 @@ private:
 // wxGridSizer
 //---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGridSizer: public wxSizer
+class WXDLLIMPEXP_CORE wxGridSizer: public wxSizer
 {
 public:
     wxGridSizer( int rows, int cols, int vgap, int hgap );
@@ -738,7 +738,7 @@ enum wxFlexSizerGrowMode
     wxFLEX_GROWMODE_ALL
 };
 
-class WXDLLEXPORT wxFlexGridSizer: public wxGridSizer
+class WXDLLIMPEXP_CORE wxFlexGridSizer: public wxGridSizer
 {
 public:
     // ctors/dtor
@@ -809,7 +809,7 @@ private:
 // wxBoxSizer
 //---------------------------------------------------------------------------
 
-class WXDLLEXPORT wxBoxSizer: public wxSizer
+class WXDLLIMPEXP_CORE wxBoxSizer: public wxSizer
 {
 public:
     wxBoxSizer(int orient)
@@ -900,7 +900,7 @@ private:
 // Borrow unused flag value
 #define wxEXTEND_LAST_ON_EACH_LINE     wxFULL_REPAINT_ON_RESIZE
 
-class WXDLLEXPORT wxWrapSizer: public wxBoxSizer
+class WXDLLIMPEXP_CORE wxWrapSizer: public wxBoxSizer
 {
 public:
     wxWrapSizer( int orient=wxHORIZONTAL, int flags=wxEXTEND_LAST_ON_EACH_LINE );
@@ -930,7 +930,7 @@ protected:
 
 class WXDLLIMPEXP_FWD_CORE wxStaticBox;
 
-class WXDLLEXPORT wxStaticBoxSizer: public wxBoxSizer
+class WXDLLIMPEXP_CORE wxStaticBoxSizer: public wxBoxSizer
 {
 public:
     wxStaticBoxSizer(wxStaticBox *box, int orient);
@@ -962,7 +962,7 @@ private:
 
 #if wxUSE_BUTTON
 
-class WXDLLEXPORT wxStdDialogButtonSizer: public wxBoxSizer
+class WXDLLIMPEXP_CORE wxStdDialogButtonSizer: public wxBoxSizer
 {
 public:
     // Constructor just creates a new wxBoxSizer, not much else.
index c48b0044733c7332010b387e1234ffc5dd68538a..6294fabc1a6151d202a3265b9b310868c61b78f3 100644 (file)
     #define wxSL_NOTIFY_DRAG     0x0000
 #endif // WXWIN_COMPATIBILITY_2_6
 
-extern WXDLLEXPORT_DATA(const char) wxSliderNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxSliderNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxSliderBase: define wxSlider interface
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSliderBase : public wxControl
+class WXDLLIMPEXP_CORE wxSliderBase : public wxControl
 {
 public:
     /* the ctor of the derived class should have the following form:
index ae2346316c010a1a97ec9430b05740e23a3578bb..820e8c33b4ed90bff404c9e039f751f16430f6c3 100644 (file)
@@ -36,7 +36,7 @@
 //  wxSP_WRAP:         value wraps at either end
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSpinButtonBase : public wxControl
+class WXDLLIMPEXP_CORE wxSpinButtonBase : public wxControl
 {
 public:
     // ctor initializes the range with the default (0..100) values
@@ -94,7 +94,7 @@ protected:
 // the wxSpinButton event
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSpinEvent : public wxNotifyEvent
+class WXDLLIMPEXP_CORE wxSpinEvent : public wxNotifyEvent
 {
 public:
     wxSpinEvent(wxEventType commandType = wxEVT_NULL, int winid = 0)
index 4314dd93ee1815ec7215dc41fd1d97151efc15ce..5c00f53410747a91943a8f70119b93e5f24e0cc4 100644 (file)
@@ -24,7 +24,7 @@
 // There are two kinds for number types T=integer or T=double.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSpinCtrlBase : public wxControl
+class WXDLLIMPEXP_CORE wxSpinCtrlBase : public wxControl
 {
 public:
     wxSpinCtrlBase() {}
@@ -56,7 +56,7 @@ private:
 // wxSpinDoubleEvent - a wxSpinEvent for double valued controls
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSpinDoubleEvent : public wxNotifyEvent
+class WXDLLIMPEXP_CORE wxSpinDoubleEvent : public wxNotifyEvent
 {
 public:
     wxSpinDoubleEvent(wxEventType commandType = wxEVT_NULL, int winid = 0,
index a3d1c2aa229ddcb7d8ad4b015f1e482e32f0597b..32cc614d958c05f418e4b2fbd32c0c96e5d0c349 100644 (file)
@@ -36,7 +36,7 @@
 // constants
 // ----------------------------------------------------------------------------
 
-extern WXDLLEXPORT_DATA(const char) wxSearchCtrlNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxSearchCtrlNameStr[];
 
 extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_SEARCHCTRL_CANCEL_BTN;
 extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN;
@@ -46,7 +46,7 @@ extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_SEARCHCTRL_SEARCH_BTN;
 // it is based on the MacOSX 10.3 control HISearchFieldCreate
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSearchCtrlBase : public wxSearchCtrlBaseBaseClass
+class WXDLLIMPEXP_CORE wxSearchCtrlBase : public wxSearchCtrlBaseBaseClass
 {
 public:
     wxSearchCtrlBase() { }
index b80459f3ff517192db273ba7c5238761fb69b9d6..72934c25e6c116767c5fa57619fc16a3450a8516 100644 (file)
 #include "wx/bitmap.h"
 #include "wx/icon.h"
 
-extern WXDLLEXPORT_DATA(const char) wxStaticBitmapNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxStaticBitmapNameStr[];
 
 // a control showing an icon or a bitmap
-class WXDLLEXPORT wxStaticBitmapBase : public wxControl
+class WXDLLIMPEXP_CORE wxStaticBitmapBase : public wxControl
 {
 public:
     wxStaticBitmapBase() { }
index 873e5d15e533707c5d80cbbfdb8996ad4f1f26be..e8f48c3eb398b766139cbe986da4bab91456b0dd 100644 (file)
 
 #include "wx/control.h"
 
-extern WXDLLEXPORT_DATA(const char) wxStaticBoxNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxStaticBoxNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxStaticBox: a grouping box with a label
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStaticBoxBase : public wxControl
+class WXDLLIMPEXP_CORE wxStaticBoxBase : public wxControl
 {
 public:
     wxStaticBoxBase() { }
index 87115f6f138e19f0d8ca285e6e24c238d13276b4..8b36eb4c8c86732a11f74bc2369ee9f97a4da13e 100644 (file)
 // ----------------------------------------------------------------------------
 
 // the default name for objects of class wxStaticLine
-extern WXDLLEXPORT_DATA(const char) wxStaticLineNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxStaticLineNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxStaticLine - a line in a dialog
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStaticLineBase : public wxControl
+class WXDLLIMPEXP_CORE wxStaticLineBase : public wxControl
 {
 public:
     // constructor
index 395b19066aa4718e07631b285a6bbf7f38d2e037..e6e38f1da4af64d32f55955f7533ccf6d89f4624 100644 (file)
@@ -29,9 +29,9 @@
 #define wxST_ELLIPSIZE_END         0x0010
 
 
-extern WXDLLEXPORT_DATA(const char) wxStaticTextNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxStaticTextNameStr[];
 
-class WXDLLEXPORT wxStaticTextBase : public wxControl
+class WXDLLIMPEXP_CORE wxStaticTextBase : public wxControl
 {
 public:
     wxStaticTextBase() { }
index d1f666a055cf2bd0bd76180f373864c2276d5eca..f75d0537203b87c3ca0f3051f24af868179a7837 100644 (file)
@@ -37,7 +37,7 @@ WX_DECLARE_LIST(wxString, wxListString);
 // wxStatusBar: a window near the bottom of the frame used for status info
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStatusBarBase : public wxWindow
+class WXDLLIMPEXP_CORE wxStatusBarBase : public wxWindow
 {
 public:
     wxStatusBarBase();
index 7ca7bb8e5ccce09ba923cdc92aa589f8a63fbf8f..19cdc593214764f82bbed8469ee425ab301d4942 100644 (file)
 // ----------------------------------------------------------------------------
 
 // Returns true if the ID is in the list of recognized stock actions
-WXDLLEXPORT bool wxIsStockID(wxWindowID id);
+WXDLLIMPEXP_CORE bool wxIsStockID(wxWindowID id);
 
 // Returns true of the label is empty or label of a stock button with
 // given ID
-WXDLLEXPORT bool wxIsStockLabel(wxWindowID id, const wxString& label);
+WXDLLIMPEXP_CORE bool wxIsStockLabel(wxWindowID id, const wxString& label);
 
 enum wxStockLabelQueryFlag
 {
@@ -40,14 +40,14 @@ enum wxStockLabelQueryFlag
 // for wxSTOCK_OK); if wxSTOCK_WITH_MNEMONIC is given, the & character
 // is included; if wxSTOCK_WITH_ACCELERATOR is given, the stock accelerator
 // for given ID is concatenated to the label using \t as separator
-WXDLLEXPORT wxString wxGetStockLabel(wxWindowID id,
+WXDLLIMPEXP_CORE wxString wxGetStockLabel(wxWindowID id,
                                      long flags = wxSTOCK_WITH_MNEMONIC);
 
 #if wxUSE_ACCEL
 
     // Returns the accelerator that should be used for given stock UI element
     // (e.g. "Ctrl+x" for wxSTOCK_EXIT)
-    WXDLLEXPORT wxAcceleratorEntry wxGetStockAccelerator(wxWindowID id);
+    WXDLLIMPEXP_CORE wxAcceleratorEntry wxGetStockAccelerator(wxWindowID id);
 
 #endif
 
@@ -59,14 +59,14 @@ enum wxStockHelpStringClient
 };
 
 // Returns an help string for the given stock UI element and for the given "context".
-WXDLLEXPORT wxString wxGetStockHelpString(wxWindowID id,
+WXDLLIMPEXP_CORE wxString wxGetStockHelpString(wxWindowID id,
                                           wxStockHelpStringClient client = wxSTOCK_MENU);
 
 
 #ifdef __WXGTK20__
 
 // Translates stock ID to GTK+'s stock item string indentifier:
-WXDLLEXPORT const char *wxGetStockGtkID(wxWindowID id);
+WXDLLIMPEXP_CORE const char *wxGetStockGtkID(wxWindowID id);
 
 #endif
 
index 0ffef62ce3156d729df2c66cc68b9d5457d7a9fc..586f6c3d710a685071fd526aee23a979918b4a00 100644 (file)
@@ -32,9 +32,9 @@ class WXDLLIMPEXP_FWD_CORE wxImage;
 // constants
 // ----------------------------------------------------------------------------
 
-extern WXDLLEXPORT_DATA(const char) wxToolBarNameStr[];
-extern WXDLLEXPORT_DATA(const wxSize) wxDefaultSize;
-extern WXDLLEXPORT_DATA(const wxPoint) wxDefaultPosition;
+extern WXDLLIMPEXP_DATA_CORE(const char) wxToolBarNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const wxSize) wxDefaultSize;
+extern WXDLLIMPEXP_DATA_CORE(const wxPoint) wxDefaultPosition;
 
 enum wxToolBarToolStyle
 {
@@ -54,7 +54,7 @@ enum wxToolBarToolStyle
 // for the applications status bar.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxToolBarToolBase : public wxObject
+class WXDLLIMPEXP_CORE wxToolBarToolBase : public wxObject
 {
 public:
     // ctors & dtor
@@ -247,7 +247,7 @@ WX_DECLARE_EXPORTED_LIST(wxToolBarToolBase, wxToolBarToolsList);
 // the base class for all toolbars
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxToolBarBase : public wxControl
+class WXDLLIMPEXP_CORE wxToolBarBase : public wxControl
 {
 public:
     wxToolBarBase();
index 23f9a465493cd8963724a1f077b67bbab5f74c6a..5ace5a3d1936c8ab164ad29cd148526d478cecfe 100644 (file)
@@ -53,7 +53,7 @@ typedef long wxTextCoord;
 // constants
 // ----------------------------------------------------------------------------
 
-extern WXDLLEXPORT_DATA(const char) wxTextCtrlNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxTextCtrlNameStr[];
 
 // this is intentionally not enum to avoid warning fixes with
 // typecasting from enum type to wxTextCoord
@@ -252,7 +252,7 @@ enum wxTextAttrAlignment
 // wxTextAttr: a structure containing the visual attributes of a text
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTextAttr
+class WXDLLIMPEXP_CORE wxTextAttr
 {
 public:
     // ctors
@@ -591,7 +591,7 @@ private:
 // wxTextCtrl: a single or multiple line text zone where user can edit text
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTextCtrlBase : public wxControl,
+class WXDLLIMPEXP_CORE wxTextCtrlBase : public wxControl,
 #if wxHAS_TEXT_WINDOW_STREAM
                                    public wxSTD streambuf,
 #endif
@@ -705,7 +705,7 @@ extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_TEXT_ENTER;
 extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_TEXT_URL;
 extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_TEXT_MAXLEN;
 
-class WXDLLEXPORT wxTextUrlEvent : public wxCommandEvent
+class WXDLLIMPEXP_CORE wxTextUrlEvent : public wxCommandEvent
 {
 public:
     wxTextUrlEvent(int winid, const wxMouseEvent& evtMouse,
@@ -763,7 +763,7 @@ typedef void (wxEvtHandler::*wxTextUrlEventFunction)(wxTextUrlEvent&);
 // C++ stream to the wxTextCtrl given to its ctor during its lifetime.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStreamToTextRedirector
+class WXDLLIMPEXP_CORE wxStreamToTextRedirector
 {
 private:
     void Init(wxTextCtrl *text)
index d21217610287227336fed9f17e51bd0a4e540871..e4ab3394dc0db397f169f79dcc5c3c176d278924 100644 (file)
@@ -26,7 +26,7 @@ extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_TOGGLEBUTTON_CLICKED;
 // wxToggleButtonBase
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxToggleButtonBase : public wxControl
+class WXDLLIMPEXP_CORE wxToggleButtonBase : public wxControl
 {
 public:
     wxToggleButtonBase() { }
index 898ca6805f888f21094727ced4aae0610cd02323..6b448ec1017af0d3d05243e9789b6f2a3ecfe1b0 100644 (file)
@@ -32,7 +32,7 @@ class WXDLLIMPEXP_FWD_CORE wxTipWindowView;
 // wxTipWindow
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTipWindow : public wxTipWindowBase
+class WXDLLIMPEXP_CORE wxTipWindow : public wxTipWindowBase
 {
 public:
     // the mandatory ctor parameters are: the parent window and the text to
index a45d87815ddea54673db4862042b53e70f35eb6a..c6b60383d5a9df354f3af42f48db6567794420d3 100644 (file)
@@ -40,7 +40,7 @@ extern WXDLLIMPEXP_CORE const wxEventType wxEVT_COMMAND_TOOLBOOK_PAGE_CHANGING;
 // wxToolbook
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxToolbook : public wxBookCtrlBase
+class WXDLLIMPEXP_CORE wxToolbook : public wxBookCtrlBase
 {
 public:
     wxToolbook()
@@ -135,7 +135,7 @@ private:
 // listbook event class and related stuff
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxToolbookEvent : public wxBookCtrlBaseEvent
+class WXDLLIMPEXP_CORE wxToolbookEvent : public wxBookCtrlBaseEvent
 {
 public:
     wxToolbookEvent(wxEventType commandType = wxEVT_NULL, int id = 0,
index e770e8fee2ec58c9b1c023504228d23bc0f8062d..ed8b2e9f5ff8ae22e1b7692f62eb63109f7798a3 100644 (file)
@@ -23,7 +23,7 @@
 #include "wx/containr.h"
 
 // the default names for various classes
-extern WXDLLEXPORT_DATA(const char) wxFrameNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxFrameNameStr[];
 
 class WXDLLIMPEXP_FWD_CORE wxTopLevelWindowBase;
 
@@ -116,7 +116,7 @@ enum
 // wxTopLevelWindow: a top level (as opposed to child) window
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTopLevelWindowBase : public wxNonOwnedWindow
+class WXDLLIMPEXP_CORE wxTopLevelWindowBase : public wxNonOwnedWindow
 {
 public:
     // construction
@@ -348,7 +348,7 @@ protected:
     #include "wx/univ/toplevel.h"
 #else // !__WXUNIVERSAL__
     #ifdef wxTopLevelWindowNative
-        class WXDLLEXPORT wxTopLevelWindow : public wxTopLevelWindowNative
+        class WXDLLIMPEXP_CORE wxTopLevelWindow : public wxTopLevelWindowNative
         {
         public:
             // construction
index 54582f8a0b82148414dcd23838143e364d9ca31b..937b6584227ffbfe7a39efc0f55d6f964313ed21 100644 (file)
@@ -47,7 +47,7 @@ enum
 // Using this typedef removes an ambiguity when calling Remove()
 typedef void *wxTreeItemIdValue;
 
-class WXDLLEXPORT wxTreeItemId
+class WXDLLIMPEXP_CORE wxTreeItemId
 {
     friend bool operator==(const wxTreeItemId&, const wxTreeItemId&);
 public:
@@ -99,7 +99,7 @@ inline bool operator!=(const wxTreeItemId& i1, const wxTreeItemId& i2)
 // always be allocated on the heap!
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTreeItemData: public wxClientData
+class WXDLLIMPEXP_CORE wxTreeItemData: public wxClientData
 {
 friend class WXDLLIMPEXP_FWD_CORE wxTreeCtrl;
 friend class WXDLLIMPEXP_FWD_CORE wxGenericTreeCtrl;
@@ -124,7 +124,7 @@ WX_DEFINE_EXPORTED_ARRAY_PTR(wxTreeItemIdValue, wxArrayTreeItemIdsBase);
 // this is a wrapper around the array class defined above which allow to wok
 // with vaue of natural wxTreeItemId type instead of using wxTreeItemIdValue
 // and does it without any loss of efficiency
-class WXDLLEXPORT wxArrayTreeItemIds : public wxArrayTreeItemIdsBase
+class WXDLLIMPEXP_CORE wxArrayTreeItemIds : public wxArrayTreeItemIdsBase
 {
 public:
     void Add(const wxTreeItemId& id)
@@ -225,13 +225,13 @@ static const int wxTREE_HITTEST_ONITEM  = wxTREE_HITTEST_ONITEMICON |
                                           wxTREE_HITTEST_ONITEMLABEL;
 
 // tree ctrl default name
-extern WXDLLEXPORT_DATA(const char) wxTreeCtrlNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxTreeCtrlNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxTreeItemAttr: a structure containing the visual attributes of an item
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTreeItemAttr
+class WXDLLIMPEXP_CORE wxTreeItemAttr
 {
 public:
     // ctors
@@ -270,7 +270,7 @@ private:
 
 class WXDLLIMPEXP_FWD_CORE wxTreeCtrlBase;
 
-class WXDLLEXPORT wxTreeEvent : public wxNotifyEvent
+class WXDLLIMPEXP_CORE wxTreeEvent : public wxNotifyEvent
 {
 public:
     wxTreeEvent(wxEventType commandType,
index 798acf318b5914f7e0c7fae429f90c83124ba097..bd60e6dca1942c1941e8ad9e9fc08604c58c0b20 100644 (file)
@@ -27,7 +27,7 @@ class WXDLLIMPEXP_FWD_CORE wxTreeEvent;
 // wxTreebook
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTreebook : public wxBookCtrlBase
+class WXDLLIMPEXP_CORE wxTreebook : public wxBookCtrlBase
 {
 public:
     // Constructors and such
@@ -233,7 +233,7 @@ private:
 // treebook event class and related stuff
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTreebookEvent : public wxBookCtrlBaseEvent
+class WXDLLIMPEXP_CORE wxTreebookEvent : public wxBookCtrlBaseEvent
 {
 public:
     wxTreebookEvent(wxEventType commandType = wxEVT_NULL, int id = 0,
index cb808f43293f688331e998d9552c537846eabf9b..bdcc2b32018ce1b5b9457b3c355dd2f5d999102b 100644 (file)
@@ -30,7 +30,7 @@ class WXDLLIMPEXP_FWD_CORE wxImageList;
 // wxTreeCtrlBase
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTreeCtrlBase : public wxControl
+class WXDLLIMPEXP_CORE wxTreeCtrlBase : public wxControl
 {
 public:
     wxTreeCtrlBase()
index 1b3b801b535deb0f9d69032c0f327c1e5be5d672..a0dee87bea22d5ec27c637966e9f7aeae438bc66 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIX_APP_H_
 #define _WX_UNIX_APP_H_
 
-class WXDLLEXPORT wxUniversalApp : public wxApp
+class WXDLLIMPEXP_CORE wxUniversalApp : public wxApp
 {
 public:
 };
index 5d4d725aac3a00d3b92a5b2da61de504476c17db..b3b81d0d66762233da044b34a78fe275809943f2 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_BMPBUTTN_H_
 #define _WX_UNIV_BMPBUTTN_H_
 
-class WXDLLEXPORT wxBitmapButton : public wxBitmapButtonBase
+class WXDLLIMPEXP_CORE wxBitmapButton : public wxBitmapButtonBase
 {
 public:
     wxBitmapButton() { }
index 59e97a533ae57bd9122944791433c331c03d761b..2aaf0cf4b221b5a0d782ddc67c8b9c768b2d3582 100644 (file)
@@ -29,7 +29,7 @@ class WXDLLIMPEXP_FWD_CORE wxInputHandler;
 // wxButton: a push button
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxButton : public wxButtonBase
+class WXDLLIMPEXP_CORE wxButton : public wxButtonBase
 {
 public:
     wxButton() { Init(); }
index c7ffee5be975317eac7bbc94bf5305809dbed739..aaa1dee61606f5dbd28fdeaeee80ea67a481be1e 100644 (file)
@@ -28,7 +28,7 @@
 // wxCheckBox
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase
+class WXDLLIMPEXP_CORE wxCheckBox : public wxCheckBoxBase
 {
 public:
     // checkbox constants
index 3df46687709258cbd2259d9cafd8e78840b90d0c..d22b8f069e9ace955900682caffe5a05675b2adb 100644 (file)
@@ -22,7 +22,7 @@
 // wxCheckListBox
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase
+class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase
 {
 public:
     // ctors
index f56590f372d583538b591bbc2d2315a9a3b09cb4..3c28c5f4bdf1ed08bcb6489f9b26438c5768d116 100644 (file)
@@ -16,7 +16,7 @@
 
 // VS: This is only a *temporary* implementation, real wxChoice should not
 //     derive from wxComboBox and may have different l&f 
-class WXDLLEXPORT wxChoice : public wxComboBox
+class WXDLLIMPEXP_CORE wxChoice : public wxComboBox
 {
 public:
     wxChoice() {}
index b591c7d0e22df3d135eb67de76b99d1c5563377a..ff4b728aac7594e26e1cb59e467104795052a78e 100644 (file)
@@ -21,7 +21,7 @@ class WXDLLIMPEXP_FWD_CORE wxWindow;
 // wxColourScheme
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxColourScheme
+class WXDLLIMPEXP_CORE wxColourScheme
 {
 public:
     // the standard colours
index 78bdc7059a02d5a4d678c9e2dfa0152d70111358..2b26eb5180bf2427f7cf9f23dc1a45fc0d371c14 100644 (file)
@@ -31,7 +31,7 @@ class WXDLLIMPEXP_FWD_CORE wxListBox;
 // wxComboBox: a combination of text control and a listbox
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxComboBox : public wxComboCtrl, public wxComboBoxBase
+class WXDLLIMPEXP_CORE wxComboBox : public wxComboCtrl, public wxComboBoxBase
 {
 public:
     // ctors and such
index 4d7d370ab17594032adff2a9e9471a82da64b6db..22cd4efca6347954b15e12f4d724eb49b624a325 100644 (file)
@@ -38,7 +38,7 @@ typedef wxString wxControlAction;
 // wxControl: the base class for all GUI controls
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxControl : public wxControlBase, public wxInputConsumer
+class WXDLLIMPEXP_CORE wxControl : public wxControlBase, public wxInputConsumer
 {
 public:
     wxControl() { Init(); }
index 1579a3744e66a6b4227494176126e49dc51010a3..0f9d7f67585a1e75e27fd69e9db28b6dd70411c8 100644 (file)
 #ifndef _WX_UNIV_DIALOG_H_
 #define _WX_UNIV_DIALOG_H_
 
-extern WXDLLEXPORT_DATA(const char) wxDialogNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxDialogNameStr[];
 class WXDLLIMPEXP_FWD_CORE wxWindowDisabler;
 class WXDLLIMPEXP_FWD_CORE wxEventLoop;
 
 // Dialog boxes
-class WXDLLEXPORT wxDialog : public wxDialogBase
+class WXDLLIMPEXP_CORE wxDialog : public wxDialogBase
 {
 public:
     wxDialog() { Init(); }
index d53d940e1be8d5e60c4d06583f70c0834857d577..924ea90a96a26b36857eb2011d7b104457e927ec 100644 (file)
@@ -16,7 +16,7 @@
 // wxFrame
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFrame : public wxFrameBase
+class WXDLLIMPEXP_CORE wxFrame : public wxFrameBase
 {
 public:
     wxFrame() {}
index 80b1bf6c110448a93a967852594c9c197482ab34..180a923f333d535b968a63ab93840a5ca53673ed 100644 (file)
@@ -16,7 +16,7 @@
 // wxGauge: a progress bar
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGauge : public wxGaugeBase
+class WXDLLIMPEXP_CORE wxGauge : public wxGaugeBase
 {
 public:
     wxGauge() { Init(); }
index 874d2f9e864a897c60478cea25ec39274ac77006..3538acd3a827aac060e1abcaf81f21d82cadfdf0 100644 (file)
@@ -35,7 +35,7 @@ typedef wxString wxControlAction;
 // wxControl and wxTopLevelWindow).
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxInputConsumer
+class WXDLLIMPEXP_CORE wxInputConsumer
 {
 public:
     wxInputConsumer() { m_inputHandler = NULL; }
index 05c9d0e87b3262d0ea15690eefdf49aa2614b0ab..fd36787fe84605283b8fff8d1242d2e867aff06b 100644 (file)
@@ -40,7 +40,7 @@
 // wxInputHandler: maps the events to the actions
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxInputHandler : public wxObject
+class WXDLLIMPEXP_CORE wxInputHandler : public wxObject
 {
 public:
     // map a keyboard event to one or more actions (pressed == true if the key
@@ -80,7 +80,7 @@ public:
 // and also provides the way to chain input handlers together
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStdInputHandler : public wxInputHandler
+class WXDLLIMPEXP_CORE wxStdInputHandler : public wxInputHandler
 {
 public:
     wxStdInputHandler(wxInputHandler *handler) : m_handler(handler) { }
index 41d2b7df561d87262d35b491534ffdae91220348..f70d98abc978acc5370a6d2d0210eee3d60fbbd4 100644 (file)
@@ -48,7 +48,7 @@
 // wxListBox: a list of selectable items
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxListBox : public wxListBoxBase, public wxScrollHelper
+class WXDLLIMPEXP_CORE wxListBox : public wxListBoxBase, public wxScrollHelper
 {
 public:
     // ctors and such
index 6515c41b36631cf77cb3ef9ad61a861b459693ff..b964b7e86956e56924ccebe8b0becaca309cc490 100644 (file)
@@ -30,7 +30,7 @@ class WXDLLIMPEXP_FWD_CORE wxRenderer;
 // wxMenu
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenu : public wxMenuBase
+class WXDLLIMPEXP_CORE wxMenu : public wxMenuBase
 {
 public:
     // ctors and dtor
@@ -138,7 +138,7 @@ private:
 // wxMenuBar
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenuBar : public wxMenuBarBase
+class WXDLLIMPEXP_CORE wxMenuBar : public wxMenuBarBase
 {
 public:
     // ctors and dtor
index 3601bd5fc8ba9b2522e0e3c2ab3711bdc55ec550..d515ce6d7dac014dd0b2affd899ca0ee36bc770f 100644 (file)
@@ -16,7 +16,7 @@
 // wxMenuItem implements wxMenuItemBase
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxMenuItem : public wxMenuItemBase
+class WXDLLIMPEXP_CORE wxMenuItem : public wxMenuItemBase
 {
 public:
     // ctor & dtor
index d2896f472cebba0a04a45e0da62f7bb4347193a8..dda002abc905d33a3636f31dcdec8c8d6f002c01 100644 (file)
@@ -29,7 +29,7 @@ class WXDLLIMPEXP_FWD_CORE wxSpinButton;
 // wxNotebook
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxNotebook : public wxNotebookBase
+class WXDLLIMPEXP_CORE wxNotebook : public wxNotebookBase
 {
 public:
     // ctors and such
index bc48405493f121b914cc53d9064d43fdce99c8d6..a66adfa215481649827fd6ebf79d2d32e9596988 100644 (file)
@@ -23,7 +23,7 @@ WX_DEFINE_EXPORTED_ARRAY_PTR(wxRadioButton *, wxArrayRadioButtons);
 // wxRadioBox: a box full of radio buttons
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxRadioBox : public wxStaticBox,
+class WXDLLIMPEXP_CORE wxRadioBox : public wxStaticBox,
                                public wxRadioBoxBase
 {
 public:
index 37371d4903435086fd0b2d47577d3ac92ad8cca7..2ab03445491ce8c8802d6cc91369ab3e93529c10 100644 (file)
@@ -18,7 +18,7 @@
 // wxRadioButton
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxRadioButton : public wxCheckBox
+class WXDLLIMPEXP_CORE wxRadioButton : public wxCheckBox
 {
 public:
     // constructors
index 58bd75f38159759a735e31b090947bac56597ba9..167f94e88b02f1df291a73d78f073754e695ad8d 100644 (file)
@@ -58,7 +58,7 @@ class WXDLLIMPEXP_FWD_CORE wxScrollBar;
 #include "wx/icon.h"
 
 // helper class used by wxMenu-related functions
-class WXDLLEXPORT wxMenuGeometryInfo
+class WXDLLIMPEXP_CORE wxMenuGeometryInfo
 {
 public:
     // get the total size of the menu
@@ -71,7 +71,7 @@ public:
 // wxRenderer: abstract renderers interface
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxRenderer : public wxDelegateRendererNative
+class WXDLLIMPEXP_CORE wxRenderer : public wxDelegateRendererNative
 {
 public:
     // drawing functions
@@ -493,7 +493,7 @@ public:
 // will be left to the original renderer
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDelegateRenderer : public wxRenderer
+class WXDLLIMPEXP_CORE wxDelegateRenderer : public wxRenderer
 {
 public:
     wxDelegateRenderer(wxRenderer *renderer) : m_renderer(renderer) { }
@@ -863,7 +863,7 @@ protected:
 // OnPaint()
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxControlRenderer
+class WXDLLIMPEXP_CORE wxControlRenderer
 {
 public:
     // create a renderer for this dc with this "fundamental" renderer
index 263b8ecf2ea98984305c7fd3de146d272da953a4..2621c16de57baa35a3e4655b96e664858c746636 100644 (file)
@@ -33,7 +33,7 @@ class WXDLLIMPEXP_FWD_CORE wxRenderer;
 // wxScrollArrows: an abstraction of scrollbar arrow
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxScrollArrows
+class WXDLLIMPEXP_CORE wxScrollArrows
 {
 public:
     enum Arrow
@@ -79,7 +79,7 @@ private:
 // wxControlWithArrows: interface implemented by controls using wxScrollArrows
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxControlWithArrows
+class WXDLLIMPEXP_CORE wxControlWithArrows
 {
 public:
     virtual ~wxControlWithArrows() {}
index a11cef70fee34b0de7a617edd495d228bf703cea..dd59432a36dc95b73128f53aad9439ae0a48e25e 100644 (file)
@@ -38,7 +38,7 @@ class WXDLLIMPEXP_FWD_CORE wxScrollTimer;
 // wxScrollBar
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxScrollBar : public wxScrollBarBase,
+class WXDLLIMPEXP_CORE wxScrollBar : public wxScrollBarBase,
                                 public wxControlWithArrows
 {
 public:
@@ -192,7 +192,7 @@ private:
     // the object handling the arrows
     wxScrollArrows m_arrows;
 
-    friend WXDLLEXPORT class wxControlRenderer; // for geometry methods
+    friend WXDLLIMPEXP_CORE class wxControlRenderer; // for geometry methods
     friend class wxStdScrollBarInputHandler; // for geometry methods
 
     DECLARE_EVENT_TABLE()
@@ -203,7 +203,7 @@ private:
 // Standard scrollbar input handler which can be used as a base class
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStdScrollBarInputHandler : public wxStdInputHandler
+class WXDLLIMPEXP_CORE wxStdScrollBarInputHandler : public wxStdInputHandler
 {
 public:
     // constructor takes a renderer (used for scrollbar hit testing) and the
index 00ab7aacaef2ed54f4d2f5b1bd75567b9e98fc9b..25a6ce98e0a977dd2f7b6f3307d00bd843453dc2 100644 (file)
@@ -31,7 +31,7 @@ class WXDLLIMPEXP_FWD_CORE wxScrollTimer;
 // wxScrollThumb: an abstraction of scrollbar thumb
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxScrollThumb
+class WXDLLIMPEXP_CORE wxScrollThumb
 {
 public:
     enum Shaft
@@ -83,7 +83,7 @@ private:
 // wxControlWithThumb: interface implemented by controls using wxScrollThumb
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxControlWithThumb
+class WXDLLIMPEXP_CORE wxControlWithThumb
 {
 public:
     virtual ~wxControlWithThumb() {}
index a94c528f7f3c0ca9852544fa0a02bf73d1eb97f0..d73aada0b65e4255dcd1b1968452b6e3b9f08482 100644 (file)
@@ -25,7 +25,7 @@
 // pressed
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxScrollTimer : public wxTimer
+class WXDLLIMPEXP_CORE wxScrollTimer : public wxTimer
 {
 public:
     // default ctor
index acb54538b60a758f952493527f1fe68f5b13e04f..7be8cdde7354c1c2d84cff46d22cb86c9d5d5667 100644 (file)
@@ -36,7 +36,7 @@
 // wxSlider
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxSlider : public wxSliderBase,
+class WXDLLIMPEXP_CORE wxSlider : public wxSliderBase,
                              public wxControlWithThumb
 {
 public:
index 61ee7f2bbf50a5f7ecdafee7d1efe0112df05add..aac61f964424c2add6d35440e00ac64cd0d8367d 100644 (file)
@@ -22,7 +22,7 @@
 #define wxACTION_SPIN_INC    _T("inc")
 #define wxACTION_SPIN_DEC    _T("dec")
 
-class WXDLLEXPORT wxSpinButton : public wxSpinButtonBase,
+class WXDLLIMPEXP_CORE wxSpinButton : public wxSpinButtonBase,
                                  public wxControlWithArrows
 {
 public:
@@ -104,7 +104,7 @@ private:
 // wxStdScrollBarInputHandler) and processes keyboard events too
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStdSpinButtonInputHandler : public wxStdInputHandler
+class WXDLLIMPEXP_CORE wxStdSpinButtonInputHandler : public wxStdInputHandler
 {
 public:
     wxStdSpinButtonInputHandler(wxInputHandler *inphand);
index a51a0f75a1d8a4c7ea4b9db992f7b55dc1ec708f..2c9e011547fa92366c7172696d4490d32f0fdf0a 100644 (file)
@@ -18,7 +18,7 @@
 // wxStaticBitmap
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase
+class WXDLLIMPEXP_CORE wxStaticBitmap : public wxStaticBitmapBase
 {
 public:
     wxStaticBitmap()
index 333e1985dc3a411beb383986a805172a16f9dab1..eb1cb116c84bcbadfb70d6ab4a6388b8ba534445 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_STATBOX_H_
 #define _WX_UNIV_STATBOX_H_
 
-class WXDLLEXPORT wxStaticBox : public wxStaticBoxBase
+class WXDLLIMPEXP_CORE wxStaticBox : public wxStaticBoxBase
 {
 public:
     wxStaticBox() { }
index 0711fc5b08e1b2372b18bcb620fa01293d87485b..85fb86f3a2a80d6b5a7f3b1dfa1dacab7b87f954 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef _WX_UNIV_STATLINE_H_
 #define _WX_UNIV_STATLINE_H_
 
-class WXDLLEXPORT wxStaticLine : public wxStaticLineBase
+class WXDLLIMPEXP_CORE wxStaticLine : public wxStaticLineBase
 {
 public:
     // constructors and pseudo-constructors
index 401772e7910d7f7afa26b6bb9e0d4d56610fce0a..888ade81f60d9e61e3b20f546832302897f327a2 100644 (file)
@@ -12,7 +12,7 @@
 #ifndef _WX_UNIV_STATTEXT_H_
 #define _WX_UNIV_STATTEXT_H_
 
-class WXDLLEXPORT wxStaticText : public wxStaticTextBase
+class WXDLLIMPEXP_CORE wxStaticText : public wxStaticTextBase
 {
 public:
     wxStaticText() { }
index 79116f1919cc047c6b0d87a7c1f2959b954fb1e6..88528562a35a4f7c9e22f105c252fbbf0dc94c51 100644 (file)
@@ -19,7 +19,7 @@
 // wxStatusBar: a window near the bottom of the frame used for status info
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStatusBarUniv : public wxStatusBarBase,
+class WXDLLIMPEXP_CORE wxStatusBarUniv : public wxStatusBarBase,
                                     public wxInputConsumer
 {
 public:
index 941a60c21dc50f1d650bfaf4088545f7704753b1..127c3f7c34dad43b05a1c09d2ca0d8a171cb7229 100644 (file)
@@ -66,7 +66,7 @@ class WXDLLIMPEXP_FWD_CORE wxTextCtrlCommandProcessor;
 // wxTextCtrl
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase,
+class WXDLLIMPEXP_CORE wxTextCtrl : public wxTextCtrlBase,
                                public wxScrollHelper
 {
 public:
index 8f78e3a7b86097753b639e6716383e92a3ebc5dd..7bb99bac8d3a37bb9a8ad4d1d190c1730d6f6c03 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/button.h"
 
-extern WXDLLEXPORT_DATA(const char) wxCheckBoxNameStr[];
+extern WXDLLIMPEXP_DATA_CORE(const char) wxCheckBoxNameStr[];
 
 // ----------------------------------------------------------------------------
 // wxToggleButton: a push button
index 5e761d16175459ba786dd12153387b72caea666d..95544b419b1dd7e79ec0981f7b21bca28d1f5205 100644 (file)
@@ -27,7 +27,7 @@ class WXDLLIMPEXP_FWD_CORE wxInputHandler;
 class WXDLLIMPEXP_FWD_CORE wxRenderer;
 struct WXDLLIMPEXP_FWD_CORE wxThemeInfo;
 
-class WXDLLEXPORT wxTheme
+class WXDLLIMPEXP_CORE wxTheme
 {
 public:
     // static methods
@@ -108,7 +108,7 @@ protected:
 // dynamic theme creation helpers
 // ----------------------------------------------------------------------------
 
-struct WXDLLEXPORT wxThemeInfo
+struct WXDLLIMPEXP_CORE wxThemeInfo
 {
     typedef wxTheme *(*Constructor)();
 
@@ -137,7 +137,7 @@ struct WXDLLEXPORT wxThemeInfo
     WX_USE_THEME_IMPL(themename)
 
 #define WX_USE_THEME_IMPL(themename)                                        \
-    extern WXDLLEXPORT_DATA(bool) wxThemeUse##themename;                    \
+    extern WXDLLIMPEXP_DATA_CORE(bool) wxThemeUse##themename;                    \
     static struct wxThemeUserFor##themename                                 \
     {                                                                       \
         wxThemeUserFor##themename() { wxThemeUse##themename = true; }       \
@@ -153,7 +153,7 @@ struct WXDLLEXPORT wxThemeInfo
 
 // and this one must be inserted in the source file
 #define WX_IMPLEMENT_THEME(classname, themename, themedesc)                 \
-    WXDLLEXPORT_DATA(bool) wxThemeUse##themename = true;                    \
+    WXDLLIMPEXP_DATA_CORE(bool) wxThemeUse##themename = true;                    \
     wxTheme *wxCtorFor##themename() { return new classname; }               \
     wxThemeInfo classname::ms_info##themename(wxCtorFor##themename,         \
                                               wxT( #themename ), themedesc)
index 272cef7b38011ee05d0d3a77494c5478a50aa546..2c736c1c8c20905b35eb1c6044c24d6bb8873a55 100644 (file)
@@ -31,7 +31,7 @@ class WXDLLIMPEXP_FWD_CORE wxToolBarTool;
 // wxToolBar
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxToolBar : public wxToolBarBase
+class WXDLLIMPEXP_CORE wxToolBar : public wxToolBarBase
 {
 public:
     // construction/destruction
index aace185fbded88b9a0d1f18ca9e4956557679c71..a13d5c978b8ec6bc8a03d42572d317d21f20d787 100644 (file)
@@ -88,7 +88,7 @@ enum
 // wxTopLevelWindow
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTopLevelWindow : public wxTopLevelWindowNative,
+class WXDLLIMPEXP_CORE wxTopLevelWindow : public wxTopLevelWindowNative,
                                      public wxInputConsumer
 {
 public:
index bb8e81d7c604641afcda9713d4298150ad4c1307..a6c92da662449e6932b3b942f45118720003e2d4 100644 (file)
@@ -52,7 +52,7 @@ class WXDLLIMPEXP_FWD_CORE wxRenderer;
 #define wxWindowNative wxWindowMac
 #endif
 
-class WXDLLEXPORT wxWindow : public wxWindowNative
+class WXDLLIMPEXP_CORE wxWindow : public wxWindowNative
 {
 public:
     // ctors and create functions
index 145a746eca691a48e3d9923e9cc612b5e2b9ba60..8985a93581749c33dc94dcd9e6bcc35217aa20af 100644 (file)
@@ -29,7 +29,7 @@ public:
 
 #if wxUSE_GUI
 
-class WXDLLEXPORT wxGUIAppTraits : public wxGUIAppTraitsBase
+class WXDLLIMPEXP_CORE wxGUIAppTraits : public wxGUIAppTraitsBase
 {
 public:
     virtual wxEventLoopBase *CreateEventLoop();
index fd21e6c352249a419dc2974ee9dd83a5c9b5ff5e..6659b82be1b33545d377c947cb3db10d498613fc 100644 (file)
@@ -21,7 +21,7 @@ class wxMimeTypeCommands;
 WX_DEFINE_ARRAY_PTR(wxMimeTypeCommands *, wxMimeCommandsArray);
 
 // this is the real wxMimeTypesManager for Unix
-class WXDLLEXPORT wxMimeTypesManagerImpl
+class WXDLLIMPEXP_CORE wxMimeTypesManagerImpl
 {
 public:
     // ctor and dtor
@@ -145,7 +145,7 @@ protected:
 
 
 
-class WXDLLEXPORT wxFileTypeImpl
+class WXDLLIMPEXP_CORE wxFileTypeImpl
 {
 public:
     // initialization functions
index a016ff946857621bdb420b0e71d2d9440d7d4821..5f1883fef32508fefbec2a3968dc8f52cccbb06c 100644 (file)
@@ -200,18 +200,18 @@ inline bool wxPlatformIs(int platform) { return wxPlatform::Is(platform); }
 // Get the state of a key (true if pressed, false if not)
 // This is generally most useful getting the state of
 // the modifier or toggle keys.
-WXDLLEXPORT bool wxGetKeyState(wxKeyCode key);
+WXDLLIMPEXP_CORE bool wxGetKeyState(wxKeyCode key);
 
 
 // Don't synthesize KeyUp events holding down a key and producing
 // KeyDown events with autorepeat. On by default and always on
 // in wxMSW.
-WXDLLEXPORT bool wxSetDetectableAutoRepeat( bool flag );
+WXDLLIMPEXP_CORE bool wxSetDetectableAutoRepeat( bool flag );
 
 
 // wxMouseState is used to hold information about button and modifier state
 // and is what is returned from wxGetMouseState.
-class WXDLLEXPORT wxMouseState
+class WXDLLIMPEXP_CORE wxMouseState
 {
 public:
     wxMouseState()
@@ -276,7 +276,7 @@ private:
 
 
 // Returns the current state of the mouse position, buttons and modifers
-WXDLLEXPORT wxMouseState wxGetMouseState();
+WXDLLIMPEXP_CORE wxMouseState wxGetMouseState();
 
 #endif // wxUSE_GUI
 
@@ -595,13 +595,13 @@ enum
 };
 
 // strip mnemonics and/or accelerators from the label
-WXDLLEXPORT wxString
+WXDLLIMPEXP_CORE wxString
 wxStripMenuCodes(const wxString& str, int flags = wxStrip_All);
 
 #if WXWIN_COMPATIBILITY_2_6
 // obsolete and deprecated version, do not use, use the above overload instead
 wxDEPRECATED(
-    WXDLLEXPORT wxChar* wxStripMenuCodes(const wxChar *in, wxChar *out = NULL)
+    WXDLLIMPEXP_CORE wxChar* wxStripMenuCodes(const wxChar *in, wxChar *out = NULL)
 );
 
 #if wxUSE_ACCEL
@@ -609,7 +609,7 @@ class WXDLLIMPEXP_FWD_CORE wxAcceleratorEntry;
 
 // use wxAcceleratorEntry::Create() or FromString() methods instead
 wxDEPRECATED(
-    WXDLLEXPORT wxAcceleratorEntry *wxGetAccelFromString(const wxString& label)
+    WXDLLIMPEXP_CORE wxAcceleratorEntry *wxGetAccelFromString(const wxString& label)
 );
 #endif // wxUSE_ACCEL
 
@@ -620,45 +620,45 @@ wxDEPRECATED(
 // ----------------------------------------------------------------------------
 
 // Returns menu item id or wxNOT_FOUND if none.
-WXDLLEXPORT int wxFindMenuItemId(wxFrame *frame, const wxString& menuString, const wxString& itemString);
+WXDLLIMPEXP_CORE int wxFindMenuItemId(wxFrame *frame, const wxString& menuString, const wxString& itemString);
 
 // Find the wxWindow at the given point. wxGenericFindWindowAtPoint
 // is always present but may be less reliable than a native version.
-WXDLLEXPORT wxWindow* wxGenericFindWindowAtPoint(const wxPoint& pt);
-WXDLLEXPORT wxWindow* wxFindWindowAtPoint(const wxPoint& pt);
+WXDLLIMPEXP_CORE wxWindow* wxGenericFindWindowAtPoint(const wxPoint& pt);
+WXDLLIMPEXP_CORE wxWindow* wxFindWindowAtPoint(const wxPoint& pt);
 
 // NB: this function is obsolete, use wxWindow::FindWindowByLabel() instead
 //
 // Find the window/widget with the given title or label.
 // Pass a parent to begin the search from, or NULL to look through
 // all windows.
-WXDLLEXPORT wxWindow* wxFindWindowByLabel(const wxString& title, wxWindow *parent = (wxWindow *) NULL);
+WXDLLIMPEXP_CORE wxWindow* wxFindWindowByLabel(const wxString& title, wxWindow *parent = (wxWindow *) NULL);
 
 // NB: this function is obsolete, use wxWindow::FindWindowByName() instead
 //
 // Find window by name, and if that fails, by label.
-WXDLLEXPORT wxWindow* wxFindWindowByName(const wxString& name, wxWindow *parent = (wxWindow *) NULL);
+WXDLLIMPEXP_CORE wxWindow* wxFindWindowByName(const wxString& name, wxWindow *parent = (wxWindow *) NULL);
 
 // ----------------------------------------------------------------------------
 // Message/event queue helpers
 // ----------------------------------------------------------------------------
 
 // Yield to other apps/messages and disable user input
-WXDLLEXPORT bool wxSafeYield(wxWindow *win = NULL, bool onlyIfNeeded = false);
+WXDLLIMPEXP_CORE bool wxSafeYield(wxWindow *win = NULL, bool onlyIfNeeded = false);
 
 // Enable or disable input to all top level windows
-WXDLLEXPORT void wxEnableTopLevelWindows(bool enable = true);
+WXDLLIMPEXP_CORE void wxEnableTopLevelWindows(bool enable = true);
 
 // Check whether this window wants to process messages, e.g. Stop button
 // in long calculations.
-WXDLLEXPORT bool wxCheckForInterrupt(wxWindow *wnd);
+WXDLLIMPEXP_CORE bool wxCheckForInterrupt(wxWindow *wnd);
 
 // Consume all events until no more left
-WXDLLEXPORT void wxFlushEvents();
+WXDLLIMPEXP_CORE void wxFlushEvents();
 
 // a class which disables all windows (except, may be, the given one) in its
 // ctor and enables them back in its dtor
-class WXDLLEXPORT wxWindowDisabler
+class WXDLLIMPEXP_CORE wxWindowDisabler
 {
 public:
     // this ctor conditionally disables all windows: if the argument is false,
@@ -690,13 +690,13 @@ private:
 WXDLLIMPEXP_CORE void wxBeginBusyCursor(const wxCursor *cursor = wxHOURGLASS_CURSOR);
 
 // Restore cursor to normal
-WXDLLEXPORT void wxEndBusyCursor();
+WXDLLIMPEXP_CORE void wxEndBusyCursor();
 
 // true if we're between the above two calls
-WXDLLEXPORT bool wxIsBusy();
+WXDLLIMPEXP_CORE bool wxIsBusy();
 
 // Convenience class so we can just create a wxBusyCursor object on the stack
-class WXDLLEXPORT wxBusyCursor
+class WXDLLIMPEXP_CORE wxBusyCursor
 {
 public:
     wxBusyCursor(const wxCursor* cursor = wxHOURGLASS_CURSOR)
@@ -713,13 +713,13 @@ public:
     static const wxCursor GetBusyCursor();
 };
 
-void WXDLLEXPORT wxGetMousePosition( int* x, int* y );
+void WXDLLIMPEXP_CORE wxGetMousePosition( int* x, int* y );
 
 // MSW only: get user-defined resource from the .res file.
 // Returns NULL or newly-allocated memory, so use delete[] to clean up.
 #ifdef __WXMSW__
-    extern WXDLLEXPORT const wxChar* wxUserResourceStr;
-    WXDLLEXPORT wxChar* wxLoadUserResource(const wxString& resourceName, const wxString& resourceType = wxUserResourceStr);
+    extern WXDLLIMPEXP_CORE const wxChar* wxUserResourceStr;
+    WXDLLIMPEXP_CORE wxChar* wxLoadUserResource(const wxString& resourceName, const wxString& resourceType = wxUserResourceStr);
 #endif // MSW
 
 // ----------------------------------------------------------------------------
index 51de5129ac4fad36c77fdbc379ff72afeebe5a59..d3bf35d7b3d2e1d0363898f4df3fef05c6513499 100644 (file)
@@ -3,7 +3,7 @@
 // Purpose:     wxGenericValidator class
 // Author:      Kevin Smith
 // Created:     Jan 22 1999
-// RCS-ID:      $Id:$
+// RCS-ID:      $Id$
 // Copyright:   (c) 1999 Julian Smart (assigned from Kevin)
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
@@ -24,7 +24,7 @@ class WXDLLIMPEXP_FWD_BASE wxDateTime;
 // It doesn't do any validation so its name is a slight misnomer.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxGenericValidator: public wxValidator
+class WXDLLIMPEXP_CORE wxGenericValidator: public wxValidator
 {
 public:
     // Different constructors: each of them creates a validator which can only
index 83aa586093c3c82dc799b206d91bf2b3d8760347..1e3f4df94ce43f0eb6d8a8193d1eeffd91b29634 100644 (file)
@@ -33,7 +33,7 @@ class WXDLLIMPEXP_FWD_CORE wxWindowBase;
  Note that wxValidator and derived classes use reference counting.
 */
 
-class WXDLLEXPORT wxValidator : public wxEvtHandler
+class WXDLLIMPEXP_CORE wxValidator : public wxEvtHandler
 {
 public:
     wxValidator();
@@ -77,7 +77,7 @@ private:
     DECLARE_NO_COPY_CLASS(wxValidator)
 };
 
-extern WXDLLEXPORT_DATA(const wxValidator) wxDefaultValidator;
+extern WXDLLIMPEXP_DATA_CORE(const wxValidator) wxDefaultValidator;
 
 #define wxVALIDATOR_PARAM(val) val
 
index 5f85d95c27f624e821003acbed438966ca2a0ff9..c2a45e8040b5103153df7f7e9a9635e49061bba9 100644 (file)
@@ -30,7 +30,7 @@ class WXDLLIMPEXP_FWD_CORE wxTextEntry;
 #define wxFILTER_INCLUDE_CHAR_LIST 0x0040
 #define wxFILTER_EXCLUDE_CHAR_LIST 0x0080
 
-class WXDLLEXPORT wxTextValidator: public wxValidator
+class WXDLLIMPEXP_CORE wxTextValidator: public wxValidator
 {
 DECLARE_DYNAMIC_CLASS(wxTextValidator)
 public:
index 524cf5c73dc063aa239e527a64d1ea6558024b37..839fae4f1d2d383719699f96d00a3fe1619f3ed8 100644 (file)
@@ -16,7 +16,7 @@
 // wxVideoMode: a simple struct containing video mode parameters for a display
 // ----------------------------------------------------------------------------
 
-struct WXDLLEXPORT wxVideoMode
+struct WXDLLIMPEXP_CORE wxVideoMode
 {
     wxVideoMode(int width = 0, int height = 0, int depth = 0, int freq = 0)
     {
index aa894553e5b8a35f1df232312684d00691794323..c6235d98b57ece587257822b4e99b2a411266d99 100644 (file)
@@ -32,7 +32,7 @@ class WXDLLIMPEXP_FWD_CORE wxSelectionStore;
     It emits the same events as wxListBox and the same event macros may be used
     with it.
  */
-class WXDLLEXPORT wxVListBox : public wxVScrolledWindow
+class WXDLLIMPEXP_CORE wxVListBox : public wxVScrolledWindow
 {
 public:
     // constructors and such
index fdaf961e5ff60cb511189125549b0180129a5e89..e80c42cd7b4d3f12475fdea060ce2ecf051a6cae 100644 (file)
@@ -59,7 +59,7 @@ class WXDLLIMPEXP_FWD_CORE wxVarScrollHelperEvtHandler;
 // required virtual functions that need to be implemented for any orientation
 // specific work.
 
-class WXDLLEXPORT wxVarScrollHelperBase
+class WXDLLIMPEXP_CORE wxVarScrollHelperBase
 {
 public:
     // constructors and such
@@ -297,7 +297,7 @@ private:
 // Provides public API functions targeted for vertical-specific scrolling,
 // wrapping the functionality of wxVarScrollHelperBase.
 
-class WXDLLEXPORT wxVarVScrollHelper : public wxVarScrollHelperBase
+class WXDLLIMPEXP_CORE wxVarVScrollHelper : public wxVarScrollHelperBase
 {
 public:
     // constructors and such
@@ -370,7 +370,7 @@ protected:
 // Provides public API functions targeted for horizontal-specific scrolling,
 // wrapping the functionality of wxVarScrollHelperBase.
 
-class WXDLLEXPORT wxVarHScrollHelper : public wxVarScrollHelperBase
+class WXDLLIMPEXP_CORE wxVarHScrollHelper : public wxVarScrollHelperBase
 {
 public:
     // constructors and such
@@ -453,7 +453,7 @@ protected:
 // functions to make changing values for both orientations at the same time
 // easier.
 
-class WXDLLEXPORT wxVarHVScrollHelper : public wxVarVScrollHelper,
+class WXDLLIMPEXP_CORE wxVarHVScrollHelper : public wxVarVScrollHelper,
                                         public wxVarHScrollHelper
 {
 public:
@@ -561,7 +561,7 @@ public:
 // in not only those classes, but also in wxHVScrolledWindow where functions
 // are inherited from both.
 
-class WXDLLEXPORT wxVarVScrollLegacyAdaptor : public wxVarVScrollHelper
+class WXDLLIMPEXP_CORE wxVarVScrollLegacyAdaptor : public wxVarVScrollHelper
 {
 public:
     // constructors and such
@@ -680,7 +680,7 @@ public:                                                                       \
 // wxScrolledWindow features however, notably it can't scroll only a rectangle
 // of the window and not its entire client area.
 
-class WXDLLEXPORT wxVScrolledWindow : public wxPanel,
+class WXDLLIMPEXP_CORE wxVScrolledWindow : public wxPanel,
                                       public wxVarVScrollLegacyAdaptor
 {
 public:
@@ -756,7 +756,7 @@ private:
 // wxScrolledWindow features however, notably it can't scroll only a rectangle
 // of the window and not its entire client area.
 
-class WXDLLEXPORT wxHScrolledWindow : public wxPanel,
+class WXDLLIMPEXP_CORE wxHScrolledWindow : public wxPanel,
                                       public wxVarHScrollHelper
 {
 public:
@@ -817,7 +817,7 @@ private:
 // scrolled windows automatically handling everything needed to scroll both
 // axis simultaneously.
 
-class WXDLLEXPORT wxHVScrolledWindow : public wxPanel,
+class WXDLLIMPEXP_CORE wxHVScrolledWindow : public wxPanel,
                                        public wxVarHVScrollHelper
 {
 public:
index 7987f624ae334a1baa651365328972408ff67e15..d953c23b7e6fa4b8d9a45b1bc165a978b02c5d36 100644 (file)
@@ -87,7 +87,7 @@ class WXDLLIMPEXP_FWD_CORE wxAccessible;
 // ----------------------------------------------------------------------------
 
 // struct containing all the visual attributes of a control
-struct WXDLLEXPORT wxVisualAttributes
+struct WXDLLIMPEXP_CORE wxVisualAttributes
 {
     // the font used for control label/text inside it
     wxFont font;
@@ -129,13 +129,13 @@ enum wxShowEffect
 // (pseudo)template list classes
 // ----------------------------------------------------------------------------
 
-WX_DECLARE_LIST_3(wxWindow, wxWindowBase, wxWindowList, wxWindowListNode, class WXDLLEXPORT);
+WX_DECLARE_LIST_3(wxWindow, wxWindowBase, wxWindowList, wxWindowListNode, class WXDLLIMPEXP_CORE);
 
 // ----------------------------------------------------------------------------
 // global variables
 // ----------------------------------------------------------------------------
 
-extern WXDLLEXPORT_DATA(wxWindowList) wxTopLevelWindows;
+extern WXDLLIMPEXP_DATA_CORE(wxWindowList) wxTopLevelWindows;
 extern WXDLLIMPEXP_DATA_CORE(wxList) wxPendingDelete;
 
 // ----------------------------------------------------------------------------
@@ -149,7 +149,7 @@ extern WXDLLIMPEXP_DATA_CORE(wxList) wxPendingDelete;
 // temporarily switches event handlers).
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowBase : public wxEvtHandler
+class WXDLLIMPEXP_CORE wxWindowBase : public wxEvtHandler
 {
 public:
     // creating the window
@@ -517,10 +517,10 @@ public:
     virtual wxSize GetWindowBorderSize() const;
 
     // wxSizer and friends use this to give a chance to a component to recalc
-    // its min size once one of the final size components is known. Override 
-    // this function when that is useful (such as for wxStaticText which can 
+    // its min size once one of the final size components is known. Override
+    // this function when that is useful (such as for wxStaticText which can
     // stretch over several lines). Parameter availableOtherDir
-    // tells the item how much more space there is available in the opposite 
+    // tells the item how much more space there is available in the opposite
     // direction (-1 if unknown).
     virtual bool InformFirstDirection( int WXUNUSED(direction), int WXUNUSED(size), int WXUNUSED(availableOtherDir) )
     { return false; }
@@ -1758,16 +1758,16 @@ inline wxWindow *wxWindowBase::GetGrandParent() const
 
 // Find the wxWindow at the current mouse position, also returning the mouse
 // position.
-extern WXDLLEXPORT wxWindow* wxFindWindowAtPointer(wxPoint& pt);
+extern WXDLLIMPEXP_CORE wxWindow* wxFindWindowAtPointer(wxPoint& pt);
 
 // Get the current mouse position.
-extern WXDLLEXPORT wxPoint wxGetMousePosition();
+extern WXDLLIMPEXP_CORE wxPoint wxGetMousePosition();
 
 // get the currently active window of this application or NULL
-extern WXDLLEXPORT wxWindow *wxGetActiveWindow();
+extern WXDLLIMPEXP_CORE wxWindow *wxGetActiveWindow();
 
 // get the (first) top level parent window
-WXDLLEXPORT wxWindow* wxGetTopLevelParent(wxWindow *win);
+WXDLLIMPEXP_CORE wxWindow* wxGetTopLevelParent(wxWindow *win);
 
 #if WXWIN_COMPATIBILITY_2_6
     // deprecated (doesn't start with 'wx' prefix), use wxWindow::NewControlId()
@@ -1780,7 +1780,7 @@ WXDLLEXPORT wxWindow* wxGetTopLevelParent(wxWindow *win);
 // accessible object for windows
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxWindowAccessible: public wxAccessible
+class WXDLLIMPEXP_CORE wxWindowAccessible: public wxAccessible
 {
 public:
     wxWindowAccessible(wxWindow* win): wxAccessible(win) { if (win) win->SetAccessible(this); }
index 0aa5f73d7fd582867aa86a311a46f2f20f38410a..02bea53fffc4340a6ed0da5b0fb8f37393b55b9a 100644 (file)
@@ -34,7 +34,7 @@ class WXDLLIMPEXP_FWD_CORE wxXVisualInfo;
 // the wxApp class for wxX11 - see wxAppBase for more details
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxApp : public wxAppBase
+class WXDLLIMPEXP_CORE wxApp : public wxAppBase
 {
 public:
     wxApp();
index 8fce06d6a0d96047dfd2eaee31addd385ef194dd..aad798657dfb36e3ee286c56614c6c24f683cb4a 100644 (file)
@@ -33,7 +33,7 @@ class WXDLLIMPEXP_FWD_CORE wxColour;
 // wxColour
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxColour : public wxColourBase
+class WXDLLIMPEXP_CORE wxColour : public wxColourBase
 {
 public:
     // constructors
index af0a97e96c638d0b86b2080b0c2d94eb3bf23da8..c8fabd92256f7fc29e30c3cfcbe57f816e385d3c 100644 (file)
@@ -22,7 +22,7 @@
 // wxDC
 //-----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxX11DCImpl : public wxDCImpl
+class WXDLLIMPEXP_CORE wxX11DCImpl : public wxDCImpl
 {
 public:
     wxX11DCImpl( wxDC *owner );
index 1958024e262f289fb86516916573e725fea634ba..cfb2809b07c2367d3cfa45edcc486aed4dc69577 100644 (file)
@@ -14,7 +14,7 @@
 
 #include "wx/dc.h"
 
-class WXDLLEXPORT wxPrinterDC: public wxDC
+class WXDLLIMPEXP_CORE wxPrinterDC: public wxDC
 {
 public:
     DECLARE_CLASS(wxPrinterDC)
index dc0f7da7a18d7e32266f941a506269fab4244580..db9bb5b9927d7fd350a5a63732a4df728ea57357 100644 (file)
@@ -36,7 +36,7 @@ class WXDLLIMPEXP_FWD_CORE wxDropSource;
 // wxDropTarget
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxDropTarget: public wxObject
+class WXDLLIMPEXP_CORE wxDropTarget: public wxObject
 {
 public:
     
@@ -59,7 +59,7 @@ public:
 // wxTextDropTarget
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTextDropTarget: public wxDropTarget
+class WXDLLIMPEXP_CORE wxTextDropTarget: public wxDropTarget
 {
 public:
     
@@ -77,7 +77,7 @@ protected:
 // wxPrivateDropTarget
 //-------------------------------------------------------------------------
 
-class WXDLLEXPORT wxPrivateDropTarget: public wxDropTarget
+class WXDLLIMPEXP_CORE wxPrivateDropTarget: public wxDropTarget
 {
 public:
     
@@ -107,7 +107,7 @@ private:
 // A drop target which accepts files (dragged from File Manager or Explorer)
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxFileDropTarget: public wxDropTarget
+class WXDLLIMPEXP_CORE wxFileDropTarget: public wxDropTarget
 {
 public:
     
@@ -136,7 +136,7 @@ enum wxDragResult
         wxDragCancel    // the operation was cancelled by user (not an error)
 };
 
-class WXDLLEXPORT wxDropSource: public wxObject
+class WXDLLIMPEXP_CORE wxDropSource: public wxObject
 {
 public:
     
index 6d33c4b8b8c981e52cc30a3731630a9eb92d8d17..551a5813a2ad50bb7b5a56df289c6c7db711ebd8 100644 (file)
@@ -16,7 +16,7 @@
 
 #include "wx/frame.h"
 
-class WXDLLEXPORT wxMiniFrame: public wxFrame {
+class WXDLLIMPEXP_CORE wxMiniFrame: public wxFrame {
 
     DECLARE_DYNAMIC_CLASS(wxMiniFrame)
 
index 60d43c87b75811aa1635af6225369bc5a03243c6..eac7614b34a9bbdaf4dda9de8eeb78c2443c0e87 100644 (file)
@@ -31,7 +31,7 @@ public:
     bool              m_destroyable;
 };
 
-class WXDLLEXPORT wxPaletteRefData: public wxGDIRefData
+class WXDLLIMPEXP_CORE wxPaletteRefData: public wxGDIRefData
 {
     friend class WXDLLIMPEXP_FWD_CORE wxPalette;
 public:
@@ -44,7 +44,7 @@ protected:
 
 #define M_PALETTEDATA ((wxPaletteRefData *)m_refData)
 
-class WXDLLEXPORT wxPalette : public wxPaletteBase
+class WXDLLIMPEXP_CORE wxPalette : public wxPaletteBase
 {
     DECLARE_DYNAMIC_CLASS(wxPalette)
 
index f67284c8b5a9846b12b2c8b4d0225c2fe9c5117a..044938bbf8057639d66624f907addf245c27ec6d 100644 (file)
@@ -18,7 +18,7 @@
 * Represents the printer: manages printing a wxPrintout object
 */
 
-class WXDLLEXPORT wxPrinter: public wxPrinterBase
+class WXDLLIMPEXP_CORE wxPrinter: public wxPrinterBase
 {
     DECLARE_DYNAMIC_CLASS(wxPrinter)
 
@@ -36,7 +36,7 @@ public:
 * Programmer creates an object of this class to preview a wxPrintout.
 */
 
-class WXDLLEXPORT wxPrintPreview: public wxPrintPreviewBase
+class WXDLLIMPEXP_CORE wxPrintPreview: public wxPrintPreviewBase
 {
     DECLARE_CLASS(wxPrintPreview)
 
index 3e01dd4fcf49a8e60c5457d4ba3c02b38cd02767..bf8386d641ae30c9c2468ab77997152c1f6ae2f5 100644 (file)
@@ -148,7 +148,7 @@ bool wxWindowIsVisible(Window win);
 
 bool wxDoSetShape( Display* xdisplay, Window xwindow, const wxRegion& region );
 
-class WXDLLEXPORT wxXVisualInfo
+class WXDLLIMPEXP_CORE wxXVisualInfo
 {
 public:
     wxXVisualInfo();
index ed385d7fe53f5ed2edca3d5996a3b5db60903ae7..b076e0ec7288b3800bd23f9c418dd189fe3e8eac 100644 (file)
@@ -359,7 +359,7 @@ private:
 // wxTextCtrl types
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxStdTextCtrlInputHandler : public wxStdInputHandler
+class WXDLLIMPEXP_CORE wxStdTextCtrlInputHandler : public wxStdInputHandler
 {
 public:
     wxStdTextCtrlInputHandler(wxInputHandler *inphand) : wxStdInputHandler(inphand) {}
index ae820864c24de279e02b0b25b8eb9b34220f1d0d..7aaffb52437563889eae74c960e0621c3ae92ea4 100644 (file)
@@ -16,7 +16,7 @@
 // wxTopLevelWindowX11
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxTopLevelWindowX11 : public wxTopLevelWindowBase
+class WXDLLIMPEXP_CORE wxTopLevelWindowX11 : public wxTopLevelWindowBase
 {
 public:
     // constructors and such
@@ -112,6 +112,6 @@ protected:
 };
 
 // list of all frames and modeless dialogs
-//extern WXDLLEXPORT_DATA(wxWindowList) wxModelessWindows;
+//extern WXDLLIMPEXP_DATA_CORE(wxWindowList) wxModelessWindows;
 
 #endif // _WX_X11_TOPLEVEL_H_
index 6c04d16eac9c859f4483102634c4f1f05cfbfc5c..b28d6706e5c6fb3639173625ef64bcade3dc304e 100644 (file)
@@ -205,7 +205,7 @@ private:
 // optimisation, it will be reenabled as soon as the object goes out from scope.
 // ----------------------------------------------------------------------------
 
-class WXDLLEXPORT wxNoOptimize
+class WXDLLIMPEXP_CORE wxNoOptimize
 {
 public:
     wxNoOptimize() { ms_count++; }
index 5fd3ebe509ec00cf38e99aad136b552e7c28c7d5..82b80fa3d7aee487e91be22bda0f628c02d12470 100644 (file)
@@ -21,7 +21,7 @@ class WXDLLIMPEXP_FWD_BASE wxInputStream;
 // wxXPMDecoder class
 // --------------------------------------------------------------------------
 
-class WXDLLEXPORT wxXPMDecoder
+class WXDLLIMPEXP_CORE wxXPMDecoder
 {
 public:
     // constructor, destructor, etc.