substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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:
|
||||
};
|
||||
|
@@ -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() { }
|
||||
|
@@ -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(); }
|
||||
|
@@ -28,7 +28,7 @@
|
||||
// wxCheckBox
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxCheckBox : public wxCheckBoxBase
|
||||
class WXDLLIMPEXP_CORE wxCheckBox : public wxCheckBoxBase
|
||||
{
|
||||
public:
|
||||
// checkbox constants
|
||||
|
@@ -22,7 +22,7 @@
|
||||
// wxCheckListBox
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxCheckListBox : public wxCheckListBoxBase
|
||||
class WXDLLIMPEXP_CORE wxCheckListBox : public wxCheckListBoxBase
|
||||
{
|
||||
public:
|
||||
// ctors
|
||||
|
@@ -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() {}
|
||||
|
@@ -21,7 +21,7 @@ class WXDLLIMPEXP_FWD_CORE wxWindow;
|
||||
// wxColourScheme
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxColourScheme
|
||||
class WXDLLIMPEXP_CORE wxColourScheme
|
||||
{
|
||||
public:
|
||||
// the standard colours
|
||||
|
@@ -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
|
||||
|
@@ -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(); }
|
||||
|
@@ -11,12 +11,12 @@
|
||||
#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(); }
|
||||
|
@@ -16,7 +16,7 @@
|
||||
// wxFrame
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxFrame : public wxFrameBase
|
||||
class WXDLLIMPEXP_CORE wxFrame : public wxFrameBase
|
||||
{
|
||||
public:
|
||||
wxFrame() {}
|
||||
|
@@ -16,7 +16,7 @@
|
||||
// wxGauge: a progress bar
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxGauge : public wxGaugeBase
|
||||
class WXDLLIMPEXP_CORE wxGauge : public wxGaugeBase
|
||||
{
|
||||
public:
|
||||
wxGauge() { Init(); }
|
||||
|
@@ -35,7 +35,7 @@ typedef wxString wxControlAction;
|
||||
// wxControl and wxTopLevelWindow).
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxInputConsumer
|
||||
class WXDLLIMPEXP_CORE wxInputConsumer
|
||||
{
|
||||
public:
|
||||
wxInputConsumer() { m_inputHandler = NULL; }
|
||||
|
@@ -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) { }
|
||||
|
@@ -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
|
||||
|
@@ -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
|
||||
|
@@ -16,7 +16,7 @@
|
||||
// wxMenuItem implements wxMenuItemBase
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxMenuItem : public wxMenuItemBase
|
||||
class WXDLLIMPEXP_CORE wxMenuItem : public wxMenuItemBase
|
||||
{
|
||||
public:
|
||||
// ctor & dtor
|
||||
|
@@ -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
|
||||
|
@@ -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:
|
||||
|
@@ -18,7 +18,7 @@
|
||||
// wxRadioButton
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxRadioButton : public wxCheckBox
|
||||
class WXDLLIMPEXP_CORE wxRadioButton : public wxCheckBox
|
||||
{
|
||||
public:
|
||||
// constructors
|
||||
|
@@ -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
|
||||
|
@@ -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() {}
|
||||
|
@@ -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
|
||||
|
@@ -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() {}
|
||||
|
@@ -25,7 +25,7 @@
|
||||
// pressed
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxScrollTimer : public wxTimer
|
||||
class WXDLLIMPEXP_CORE wxScrollTimer : public wxTimer
|
||||
{
|
||||
public:
|
||||
// default ctor
|
||||
|
@@ -36,7 +36,7 @@
|
||||
// wxSlider
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxSlider : public wxSliderBase,
|
||||
class WXDLLIMPEXP_CORE wxSlider : public wxSliderBase,
|
||||
public wxControlWithThumb
|
||||
{
|
||||
public:
|
||||
|
@@ -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);
|
||||
|
@@ -18,7 +18,7 @@
|
||||
// wxStaticBitmap
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxStaticBitmap : public wxStaticBitmapBase
|
||||
class WXDLLIMPEXP_CORE wxStaticBitmap : public wxStaticBitmapBase
|
||||
{
|
||||
public:
|
||||
wxStaticBitmap()
|
||||
|
@@ -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() { }
|
||||
|
@@ -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
|
||||
|
@@ -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() { }
|
||||
|
@@ -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:
|
||||
|
@@ -66,7 +66,7 @@ class WXDLLIMPEXP_FWD_CORE wxTextCtrlCommandProcessor;
|
||||
// wxTextCtrl
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxTextCtrl : public wxTextCtrlBase,
|
||||
class WXDLLIMPEXP_CORE wxTextCtrl : public wxTextCtrlBase,
|
||||
public wxScrollHelper
|
||||
{
|
||||
public:
|
||||
|
@@ -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
|
||||
|
@@ -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)
|
||||
|
@@ -31,7 +31,7 @@ class WXDLLIMPEXP_FWD_CORE wxToolBarTool;
|
||||
// wxToolBar
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxToolBar : public wxToolBarBase
|
||||
class WXDLLIMPEXP_CORE wxToolBar : public wxToolBarBase
|
||||
{
|
||||
public:
|
||||
// construction/destruction
|
||||
|
@@ -88,7 +88,7 @@ enum
|
||||
// wxTopLevelWindow
|
||||
//-----------------------------------------------------------------------------
|
||||
|
||||
class WXDLLEXPORT wxTopLevelWindow : public wxTopLevelWindowNative,
|
||||
class WXDLLIMPEXP_CORE wxTopLevelWindow : public wxTopLevelWindowNative,
|
||||
public wxInputConsumer
|
||||
{
|
||||
public:
|
||||
|
@@ -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
|
||||
|
Reference in New Issue
Block a user