add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-02-08 11:45:59 +00:00
parent 4800ca79ac
commit c0c133e13b
424 changed files with 715 additions and 704 deletions

View File

@@ -340,6 +340,7 @@ All:
- Handle exceptions thrown from overridden wxView::OnCreate() gracefully. - Handle exceptions thrown from overridden wxView::OnCreate() gracefully.
- Added wxPATH_RMDIR_FULL/RECURSIVE wxFileName::Rmdir() flags (Marcin Malich). - Added wxPATH_RMDIR_FULL/RECURSIVE wxFileName::Rmdir() flags (Marcin Malich).
- Added wxStandardPaths::GetAppDocumentsDir(). - Added wxStandardPaths::GetAppDocumentsDir().
- Added wx-prefixed versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros.
All (Unix): All (Unix):

View File

@@ -230,7 +230,7 @@ class WXDLLIMPEXP_FWD_CORE wxPoint;
class WXDLLIMPEXP_FWD_CORE wxRect; class WXDLLIMPEXP_FWD_CORE wxRect;
class WXDLLIMPEXP_CORE wxAccessibleBase : public wxObject class WXDLLIMPEXP_CORE wxAccessibleBase : public wxObject
{ {
DECLARE_NO_COPY_CLASS(wxAccessibleBase) wxDECLARE_NO_COPY_CLASS(wxAccessibleBase);
public: public:
wxAccessibleBase(wxWindow* win): m_window(win) {} wxAccessibleBase(wxWindow* win): m_window(win) {}

View File

@@ -68,7 +68,7 @@ private:
static wxCURHandler sm_handler; static wxCURHandler sm_handler;
DECLARE_NO_COPY_CLASS(wxANIDecoder) wxDECLARE_NO_COPY_CLASS(wxANIDecoder);
}; };

View File

@@ -435,7 +435,7 @@ protected:
// the application object is a singleton anyhow, there is no sense in // the application object is a singleton anyhow, there is no sense in
// copying it // copying it
DECLARE_NO_COPY_CLASS(wxAppConsoleBase) wxDECLARE_NO_COPY_CLASS(wxAppConsoleBase);
}; };
#if defined(__UNIX__) #if defined(__UNIX__)
@@ -631,7 +631,7 @@ protected:
bool m_isInsideYield; bool m_isInsideYield;
long m_eventsToProcessInsideYield; long m_eventsToProcessInsideYield;
DECLARE_NO_COPY_CLASS(wxAppBase) wxDECLARE_NO_COPY_CLASS(wxAppBase);
}; };
#if WXWIN_COMPATIBILITY_2_6 #if WXWIN_COMPATIBILITY_2_6

View File

@@ -461,7 +461,7 @@ private:
const wxArrayString * array; const wxArrayString * array;
} m_data; } m_data;
DECLARE_NO_ASSIGN_CLASS(wxArrayStringsAdapter) wxDECLARE_NO_ASSIGN_CLASS(wxArrayStringsAdapter);
}; };
#endif // _WX_ARRSTR_H #endif // _WX_ARRSTR_H

View File

@@ -89,7 +89,7 @@ protected:
m_marginY; m_marginY;
DECLARE_NO_COPY_CLASS(wxBitmapButtonBase) wxDECLARE_NO_COPY_CLASS(wxBitmapButtonBase);
}; };
#if WXWIN_COMPATIBILITY_2_6 #if WXWIN_COMPATIBILITY_2_6

View File

@@ -336,7 +336,7 @@ private:
unsigned int m_internalBorder; unsigned int m_internalBorder;
DECLARE_ABSTRACT_CLASS(wxBookCtrlBase) DECLARE_ABSTRACT_CLASS(wxBookCtrlBase)
DECLARE_NO_COPY_CLASS(wxBookCtrlBase) wxDECLARE_NO_COPY_CLASS(wxBookCtrlBase);
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
}; };

View File

@@ -357,7 +357,7 @@ private:
// the reference count // the reference count
size_t m_ref; size_t m_ref;
DECLARE_NO_COPY_CLASS(wxMemoryBufferData) wxDECLARE_NO_COPY_CLASS(wxMemoryBufferData);
}; };

View File

@@ -81,7 +81,7 @@ protected:
// choose the default border for this window // choose the default border for this window
virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; } virtual wxBorder GetDefaultBorder() const { return wxBORDER_NONE; }
DECLARE_NO_COPY_CLASS(wxButtonBase) wxDECLARE_NO_COPY_CLASS(wxButtonBase);
}; };
#if defined(__WXUNIVERSAL__) #if defined(__WXUNIVERSAL__)

View File

@@ -146,7 +146,7 @@ public:
wxDL_VOIDMETHOD_DEFINE( pango_cairo_show_layout, wxDL_VOIDMETHOD_DEFINE( pango_cairo_show_layout,
(cairo_t *cr, PangoLayout *layout), (cr, layout) ) (cairo_t *cr, PangoLayout *layout), (cr, layout) )
DECLARE_NO_COPY_CLASS(wxCairoLibrary) wxDECLARE_NO_COPY_CLASS(wxCairoLibrary);
}; };
#endif // wxUSE_CAIRO #endif // wxUSE_CAIRO

View File

@@ -186,7 +186,7 @@ protected:
int m_countVisible; int m_countVisible;
private: private:
DECLARE_NO_COPY_CLASS(wxCaretBase) wxDECLARE_NO_COPY_CLASS(wxCaretBase);
}; };
// --------------------------------------------------------------------------- // ---------------------------------------------------------------------------
@@ -213,7 +213,7 @@ class WXDLLIMPEXP_CORE wxCaretSuspend
public: public:
wxCaretSuspend(wxWindow *WXUNUSED(win)) {} wxCaretSuspend(wxWindow *WXUNUSED(win)) {}
DECLARE_NO_COPY_CLASS(wxCaretSuspend) wxDECLARE_NO_COPY_CLASS(wxCaretSuspend);
}; };
#else // !wxHAS_CARET_USING_OVERLAYS #else // !wxHAS_CARET_USING_OVERLAYS
@@ -242,7 +242,7 @@ private:
wxCaret *m_caret; wxCaret *m_caret;
bool m_show; bool m_show;
DECLARE_NO_COPY_CLASS(wxCaretSuspend) wxDECLARE_NO_COPY_CLASS(wxCaretSuspend);
}; };
#endif // wxHAS_CARET_USING_OVERLAYS/!wxHAS_CARET_USING_OVERLAYS #endif // wxHAS_CARET_USING_OVERLAYS/!wxHAS_CARET_USING_OVERLAYS

View File

@@ -130,7 +130,7 @@ protected:
} }
private: private:
DECLARE_NO_COPY_CLASS(wxCheckBoxBase) wxDECLARE_NO_COPY_CLASS(wxCheckBoxBase);
}; };
#if defined(__WXUNIVERSAL__) #if defined(__WXUNIVERSAL__)

View File

@@ -35,7 +35,7 @@ public:
virtual bool IsChecked(unsigned int item) const = 0; virtual bool IsChecked(unsigned int item) const = 0;
virtual void Check(unsigned int item, bool check = true) = 0; virtual void Check(unsigned int item, bool check = true) = 0;
DECLARE_NO_COPY_CLASS(wxCheckListBoxBase) wxDECLARE_NO_COPY_CLASS(wxCheckListBoxBase);
}; };
#if defined(__WXUNIVERSAL__) #if defined(__WXUNIVERSAL__)

View File

@@ -59,7 +59,7 @@ public:
virtual bool IsSorted() const { return HasFlag(wxCB_SORT); } virtual bool IsSorted() const { return HasFlag(wxCB_SORT); }
private: private:
DECLARE_NO_COPY_CLASS(wxChoiceBase) wxDECLARE_NO_COPY_CLASS(wxChoiceBase);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -189,7 +189,7 @@ public:
private: private:
wxClipboard *m_clipboard; wxClipboard *m_clipboard;
DECLARE_NO_COPY_CLASS(wxClipboardLocker) wxDECLARE_NO_COPY_CLASS(wxClipboardLocker);
}; };
#endif // wxUSE_CLIPBOARD #endif // wxUSE_CLIPBOARD

View File

@@ -136,7 +136,7 @@ private:
mutable char **m_argsA; mutable char **m_argsA;
mutable wchar_t **m_argsW; mutable wchar_t **m_argsW;
DECLARE_NO_COPY_CLASS(wxCmdLineArgsArray) wxDECLARE_NO_COPY_CLASS(wxCmdLineArgsArray);
}; };
// provide global operator overload for compatibility with the existing code // provide global operator overload for compatibility with the existing code

View File

@@ -250,7 +250,7 @@ private:
struct wxCmdLineParserData *m_data; struct wxCmdLineParserData *m_data;
DECLARE_NO_COPY_CLASS(wxCmdLineParser) wxDECLARE_NO_COPY_CLASS(wxCmdLineParser);
}; };
#else // !wxUSE_CMDLINE_PARSER #else // !wxUSE_CMDLINE_PARSER

View File

@@ -137,7 +137,7 @@ protected:
private: private:
DECLARE_DYNAMIC_CLASS(wxCommandProcessor) DECLARE_DYNAMIC_CLASS(wxCommandProcessor)
DECLARE_NO_COPY_CLASS(wxCommandProcessor) wxDECLARE_NO_COPY_CLASS(wxCommandProcessor);
}; };
#endif // _WX_CMDPROC_H_ #endif // _WX_CMDPROC_H_

View File

@@ -27,7 +27,7 @@ protected:
friend class WXDLLIMPEXP_FWD_CORE wxBitmap; friend class WXDLLIMPEXP_FWD_CORE wxBitmap;
friend class WXDLLIMPEXP_FWD_CORE wxCursor; friend class WXDLLIMPEXP_FWD_CORE wxCursor;
DECLARE_NO_COPY_CLASS(wxCursorRefData) wxDECLARE_NO_COPY_CLASS(wxCursorRefData);
}; };
#define M_CURSORDATA ((wxCursorRefData *)m_refData) #define M_CURSORDATA ((wxCursorRefData *)m_refData)

View File

@@ -25,7 +25,7 @@ WX_DECLARE_LIST(wxCocoaDCImpl, wxCocoaDCStack);
class WXDLLIMPEXP_CORE wxCocoaDCImpl: public wxDCImpl class WXDLLIMPEXP_CORE wxCocoaDCImpl: public wxDCImpl
{ {
DECLARE_ABSTRACT_CLASS(wxCocoaDCImpl) DECLARE_ABSTRACT_CLASS(wxCocoaDCImpl)
DECLARE_NO_COPY_CLASS(wxCocoaDCImpl) wxDECLARE_NO_COPY_CLASS(wxCocoaDCImpl);
//------------------------------------------------------------------------- //-------------------------------------------------------------------------
// Initialization // Initialization
//------------------------------------------------------------------------- //-------------------------------------------------------------------------

View File

@@ -22,7 +22,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel);
class WXDLLIMPEXP_CORE wxDirDialog: public wxDirDialogBase class WXDLLIMPEXP_CORE wxDirDialog: public wxDirDialogBase
{ {
DECLARE_DYNAMIC_CLASS(wxDirDialog) DECLARE_DYNAMIC_CLASS(wxDirDialog)
DECLARE_NO_COPY_CLASS(wxDirDialog) wxDECLARE_NO_COPY_CLASS(wxDirDialog);
public: public:
wxDirDialog(wxWindow *parent, wxDirDialog(wxWindow *parent,
const wxString& message = wxDirSelectorPromptStr, const wxString& message = wxDirSelectorPromptStr,

View File

@@ -30,7 +30,7 @@ public:
protected: protected:
int m_exitcode; int m_exitcode;
DECLARE_NO_COPY_CLASS(wxGUIEventLoop) wxDECLARE_NO_COPY_CLASS(wxGUIEventLoop);
}; };
#endif // _WX_COCOA_EVTLOOP_H_ #endif // _WX_COCOA_EVTLOOP_H_

View File

@@ -22,7 +22,7 @@ DECLARE_WXCOCOA_OBJC_CLASS(NSSavePanel);
class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase class WXDLLIMPEXP_CORE wxFileDialog: public wxFileDialogBase
{ {
DECLARE_DYNAMIC_CLASS(wxFileDialog) DECLARE_DYNAMIC_CLASS(wxFileDialog)
DECLARE_NO_COPY_CLASS(wxFileDialog) wxDECLARE_NO_COPY_CLASS(wxFileDialog);
public: public:
wxFileDialog(wxWindow *parent, wxFileDialog(wxWindow *parent,
const wxString& message = wxFileSelectorPromptStr, const wxString& message = wxFileSelectorPromptStr,

View File

@@ -64,7 +64,7 @@ protected:
virtual void DoSetCustomLabel(wxString& var, const ButtonLabel& label); virtual void DoSetCustomLabel(wxString& var, const ButtonLabel& label);
DECLARE_DYNAMIC_CLASS(wxCocoaMessageDialog) DECLARE_DYNAMIC_CLASS(wxCocoaMessageDialog)
DECLARE_NO_COPY_CLASS(wxCocoaMessageDialog) wxDECLARE_NO_COPY_CLASS(wxCocoaMessageDialog);
}; };
#endif // _WX_MSGDLG_H_ #endif // _WX_MSGDLG_H_

View File

@@ -19,7 +19,7 @@
// ======================================================================== // ========================================================================
class wxWindowCocoaScrollView: protected wxCocoaNSView class wxWindowCocoaScrollView: protected wxCocoaNSView
{ {
DECLARE_NO_COPY_CLASS(wxWindowCocoaScrollView) wxDECLARE_NO_COPY_CLASS(wxWindowCocoaScrollView);
public: public:
wxWindowCocoaScrollView(wxWindow *owner); wxWindowCocoaScrollView(wxWindow *owner);
virtual ~wxWindowCocoaScrollView(); virtual ~wxWindowCocoaScrollView();

View File

@@ -18,7 +18,7 @@
class wxCocoaTrackingRectManager class wxCocoaTrackingRectManager
{ {
DECLARE_NO_COPY_CLASS(wxCocoaTrackingRectManager) wxDECLARE_NO_COPY_CLASS(wxCocoaTrackingRectManager);
public: public:
wxCocoaTrackingRectManager(wxWindow *window); wxCocoaTrackingRectManager(wxWindow *window);
void ClearTrackingRect(); void ClearTrackingRect();

View File

@@ -46,7 +46,7 @@ class wxCocoaTrackingRectManager;
class WXDLLIMPEXP_CORE wxWindowCocoa: public wxWindowBase, protected wxCocoaNSView class WXDLLIMPEXP_CORE wxWindowCocoa: public wxWindowBase, protected wxCocoaNSView
{ {
DECLARE_DYNAMIC_CLASS(wxWindowCocoa) DECLARE_DYNAMIC_CLASS(wxWindowCocoa)
DECLARE_NO_COPY_CLASS(wxWindowCocoa) wxDECLARE_NO_COPY_CLASS(wxWindowCocoa);
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
friend wxWindow *wxWindowBase::GetCapture(); friend wxWindow *wxWindowBase::GetCapture();
friend class wxWindowCocoaScrollView; friend class wxWindowCocoaScrollView;

View File

@@ -437,7 +437,7 @@ private:
m_strOldPath; // saved path m_strOldPath; // saved path
bool m_bChanged; // was the path changed? bool m_bChanged; // was the path changed?
DECLARE_NO_COPY_CLASS(wxConfigPathChanger) wxDECLARE_NO_COPY_CLASS(wxConfigPathChanger);
}; };

View File

@@ -215,7 +215,7 @@ public:
protected: protected:
DECLARE_NO_COPY_CLASS(wxControlContainer) wxDECLARE_NO_COPY_CLASS(wxControlContainer);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -135,7 +135,7 @@ protected:
// this field contains the label in wx format, i.e. with '&' mnemonics // this field contains the label in wx format, i.e. with '&' mnemonics
wxString m_labelOrig; wxString m_labelOrig;
DECLARE_NO_COPY_CLASS(wxControlBase) wxDECLARE_NO_COPY_CLASS(wxControlBase);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -137,7 +137,7 @@ private:
bool m_consumedBOM; bool m_consumedBOM;
DECLARE_NO_ASSIGN_CLASS(wxConvAuto) wxDECLARE_NO_ASSIGN_CLASS(wxConvAuto);
}; };
#endif // wxUSE_WCHAR_T #endif // wxUSE_WCHAR_T

View File

@@ -232,7 +232,7 @@ public:
protected: protected:
wxHelpControllerBase* m_helpController; wxHelpControllerBase* m_helpController;
DECLARE_NO_COPY_CLASS(wxHelpControllerHelpProvider) wxDECLARE_NO_COPY_CLASS(wxHelpControllerHelpProvider);
}; };
// Convenience function for turning context id into wxString // Convenience function for turning context id into wxString

View File

@@ -437,7 +437,7 @@ protected:
void InitCommandEventWithItems(wxCommandEvent& event, int n); void InitCommandEventWithItems(wxCommandEvent& event, int n);
private: private:
DECLARE_NO_COPY_CLASS(wxControlWithItemsBase) wxDECLARE_NO_COPY_CLASS(wxControlWithItemsBase);
}; };
// define the platform-specific wxControlWithItems class // define the platform-specific wxControlWithItems class
@@ -453,7 +453,7 @@ private:
private: private:
DECLARE_ABSTRACT_CLASS(wxControlWithItems) DECLARE_ABSTRACT_CLASS(wxControlWithItems)
DECLARE_NO_COPY_CLASS(wxControlWithItems) wxDECLARE_NO_COPY_CLASS(wxControlWithItems);
}; };
#endif #endif

View File

@@ -246,7 +246,7 @@ private:
// the one and only format we support // the one and only format we support
wxDataFormat m_format; wxDataFormat m_format;
DECLARE_NO_COPY_CLASS(wxDataObjectSimple) wxDECLARE_NO_COPY_CLASS(wxDataObjectSimple);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -309,7 +309,7 @@ private:
wxDataFormat m_receivedFormat; wxDataFormat m_receivedFormat;
DECLARE_NO_COPY_CLASS(wxDataObjectComposite) wxDECLARE_NO_COPY_CLASS(wxDataObjectComposite);
}; };
// ============================================================================ // ============================================================================
@@ -393,7 +393,7 @@ public:
private: private:
wxString m_text; wxString m_text;
DECLARE_NO_COPY_CLASS(wxTextDataObject) wxDECLARE_NO_COPY_CLASS(wxTextDataObject);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -418,7 +418,7 @@ public:
protected: protected:
wxBitmap m_bitmap; wxBitmap m_bitmap;
DECLARE_NO_COPY_CLASS(wxBitmapDataObjectBase) wxDECLARE_NO_COPY_CLASS(wxBitmapDataObjectBase);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -440,7 +440,7 @@ public:
protected: protected:
wxArrayString m_filenames; wxArrayString m_filenames;
DECLARE_NO_COPY_CLASS(wxFileDataObjectBase) wxDECLARE_NO_COPY_CLASS(wxFileDataObjectBase);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -501,7 +501,7 @@ private:
size_t m_size; size_t m_size;
void *m_data; void *m_data;
DECLARE_NO_COPY_CLASS(wxCustomDataObject) wxDECLARE_NO_COPY_CLASS(wxCustomDataObject);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -91,7 +91,7 @@ protected:
wxMBConv *m_conv; wxMBConv *m_conv;
#endif #endif
DECLARE_NO_COPY_CLASS(wxDataInputStream) wxDECLARE_NO_COPY_CLASS(wxDataInputStream);
}; };
class WXDLLIMPEXP_BASE wxDataOutputStream class WXDLLIMPEXP_BASE wxDataOutputStream
@@ -169,7 +169,7 @@ protected:
wxMBConv *m_conv; wxMBConv *m_conv;
#endif #endif
DECLARE_NO_COPY_CLASS(wxDataOutputStream) wxDECLARE_NO_COPY_CLASS(wxDataOutputStream);
}; };
#endif #endif

View File

@@ -1212,7 +1212,7 @@ protected:
private: private:
DECLARE_ABSTRACT_CLASS(wxDC) DECLARE_ABSTRACT_CLASS(wxDC)
DECLARE_NO_COPY_CLASS(wxDC) wxDECLARE_NO_COPY_CLASS(wxDC);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -1248,7 +1248,7 @@ private:
wxColour m_colFgOld; wxColour m_colFgOld;
DECLARE_NO_COPY_CLASS(wxDCTextColourChanger) wxDECLARE_NO_COPY_CLASS(wxDCTextColourChanger);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -1275,7 +1275,7 @@ private:
wxPen m_penOld; wxPen m_penOld;
DECLARE_NO_COPY_CLASS(wxDCPenChanger) wxDECLARE_NO_COPY_CLASS(wxDCPenChanger);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -1302,7 +1302,7 @@ private:
wxBrush m_brushOld; wxBrush m_brushOld;
DECLARE_NO_COPY_CLASS(wxDCBrushChanger) wxDECLARE_NO_COPY_CLASS(wxDCBrushChanger);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -1325,7 +1325,7 @@ public:
private: private:
wxDC& m_dc; wxDC& m_dc;
DECLARE_NO_COPY_CLASS(wxDCClipper) wxDECLARE_NO_COPY_CLASS(wxDCClipper);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -1352,7 +1352,7 @@ private:
wxFont m_fontOld; wxFont m_fontOld;
DECLARE_NO_COPY_CLASS(wxDCFontChanger) wxDECLARE_NO_COPY_CLASS(wxDCFontChanger);
}; };

View File

@@ -139,7 +139,7 @@ private:
int m_style; int m_style;
DECLARE_DYNAMIC_CLASS(wxBufferedDC) DECLARE_DYNAMIC_CLASS(wxBufferedDC)
DECLARE_NO_COPY_CLASS(wxBufferedDC) wxDECLARE_NO_COPY_CLASS(wxBufferedDC);
}; };
@@ -199,7 +199,7 @@ private:
wxPaintDC m_paintdc; wxPaintDC m_paintdc;
DECLARE_ABSTRACT_CLASS(wxBufferedPaintDC) DECLARE_ABSTRACT_CLASS(wxBufferedPaintDC)
DECLARE_NO_COPY_CLASS(wxBufferedPaintDC) wxDECLARE_NO_COPY_CLASS(wxBufferedPaintDC);
}; };
@@ -241,7 +241,7 @@ private:
wxT("and also, if needed, paint the background manually in the paint event handler.")); wxT("and also, if needed, paint the background manually in the paint event handler."));
} }
DECLARE_NO_COPY_CLASS(wxAutoBufferedPaintDC) wxDECLARE_NO_COPY_CLASS(wxAutoBufferedPaintDC);
}; };
#else // !__WXDEBUG__ #else // !__WXDEBUG__

View File

@@ -36,7 +36,7 @@ public:
void SetGraphicsContext( wxGraphicsContext* ctx ); void SetGraphicsContext( wxGraphicsContext* ctx );
DECLARE_DYNAMIC_CLASS(wxGCDC) DECLARE_DYNAMIC_CLASS(wxGCDC)
DECLARE_NO_COPY_CLASS(wxGCDC) wxDECLARE_NO_COPY_CLASS(wxGCDC);
}; };
@@ -197,7 +197,7 @@ protected:
wxGraphicsContext* m_graphicContext; wxGraphicsContext* m_graphicContext;
DECLARE_CLASS(wxGCDCImpl) DECLARE_CLASS(wxGCDCImpl)
DECLARE_NO_COPY_CLASS(wxGCDCImpl) wxDECLARE_NO_COPY_CLASS(wxGCDCImpl);
}; };
#endif // wxUSE_GRAPHICS_CONTEXT #endif // wxUSE_GRAPHICS_CONTEXT

View File

@@ -273,7 +273,7 @@ private:
bool m_mirror; bool m_mirror;
DECLARE_NO_COPY_CLASS(wxMirrorDCImpl) wxDECLARE_NO_COPY_CLASS(wxMirrorDCImpl);
}; };
class WXDLLIMPEXP_CORE wxMirrorDC : public wxDC class WXDLLIMPEXP_CORE wxMirrorDC : public wxDC
@@ -294,7 +294,7 @@ public:
private: private:
bool m_mirror; bool m_mirror;
DECLARE_NO_COPY_CLASS(wxMirrorDC) wxDECLARE_NO_COPY_CLASS(wxMirrorDC);
}; };
#endif // _WX_DCMIRROR_H_ #endif // _WX_DCMIRROR_H_

View File

@@ -3121,22 +3121,30 @@ typedef const void* WXWidget;
#include "wx/features.h" #include "wx/features.h"
/* --------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------- */
/* macro to define a class without copy ctor nor assignment operator */ /* macros to define a class without copy ctor nor assignment operator */
/* --------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------- */
#define DECLARE_NO_COPY_CLASS(classname) \ #define wxDECLARE_NO_COPY_CLASS(classname) \
private: \ private: \
classname(const classname&); \ classname(const classname&); \
classname& operator=(const classname&); classname& operator=(const classname&)
#define DECLARE_NO_COPY_TEMPLATE_CLASS(classname, arg) \ #define wxDECLARE_NO_COPY_TEMPLATE_CLASS(classname, arg) \
private: \ private: \
classname(const classname<arg>&); \ classname(const classname<arg>&); \
classname& operator=(const classname<arg>&); classname& operator=(const classname<arg>&)
#define DECLARE_NO_ASSIGN_CLASS(classname) \ #define wxDECLARE_NO_ASSIGN_CLASS(classname) \
private: \ private: \
classname& operator=(const classname&); classname& operator=(const classname&)
// deprecated variants _not_ requiring a semicolon after them
#define DECLARE_NO_COPY_CLASS(classname) \
wxDECLARE_NO_COPY_CLASS(classname);
#define DECLARE_NO_COPY_TEMPLATE_CLASS(classname, arg) \
wxDECLARE_NO_COPY_TEMPLATE_CLASS(classname, arg);
#define DECLARE_NO_ASSIGN_CLASS(classname) \
wxDECLARE_NO_ASSIGN_CLASS(classname);
/* --------------------------------------------------------------------------- */ /* --------------------------------------------------------------------------- */
/* If a manifest is being automatically generated, add common controls 6 to it */ /* If a manifest is being automatically generated, add common controls 6 to it */

View File

@@ -39,7 +39,7 @@ private:
friend class wxOverlayImpl; // for m_shouldFlip; friend class wxOverlayImpl; // for m_shouldFlip;
DECLARE_DYNAMIC_CLASS(wxWindowDCImpl) DECLARE_DYNAMIC_CLASS(wxWindowDCImpl)
DECLARE_NO_COPY_CLASS(wxWindowDCImpl) wxDECLARE_NO_COPY_CLASS(wxWindowDCImpl);
}; };
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
@@ -53,7 +53,7 @@ public:
wxClientDCImpl(wxDC *owner, wxWindow *win); wxClientDCImpl(wxDC *owner, wxWindow *win);
DECLARE_DYNAMIC_CLASS(wxClientDCImpl) DECLARE_DYNAMIC_CLASS(wxClientDCImpl)
DECLARE_NO_COPY_CLASS(wxClientDCImpl) wxDECLARE_NO_COPY_CLASS(wxClientDCImpl);
}; };
@@ -68,7 +68,7 @@ public:
wxPaintDCImpl(wxDC *owner, wxWindow *win) : wxClientDCImpl(owner, win) { } wxPaintDCImpl(wxDC *owner, wxWindow *win) : wxClientDCImpl(owner, win) { }
DECLARE_DYNAMIC_CLASS(wxPaintDCImpl) DECLARE_DYNAMIC_CLASS(wxPaintDCImpl)
DECLARE_NO_COPY_CLASS(wxPaintDCImpl) wxDECLARE_NO_COPY_CLASS(wxPaintDCImpl);
}; };
#endif // _WX_DFB_DCCLIENT_H_ #endif // _WX_DFB_DCCLIENT_H_

View File

@@ -42,7 +42,7 @@ private:
static wxIDirectFBEventBufferPtr ms_buffer; static wxIDirectFBEventBufferPtr ms_buffer;
static int ms_bufferFd; static int ms_bufferFd;
DECLARE_NO_COPY_CLASS(wxGUIEventLoop) wxDECLARE_NO_COPY_CLASS(wxGUIEventLoop);
}; };
#endif // _WX_DFB_EVTLOOP_H_ #endif // _WX_DFB_EVTLOOP_H_

View File

@@ -190,7 +190,7 @@ private:
friend class wxWindowDCImpl; // for PaintOverlays friend class wxWindowDCImpl; // for PaintOverlays
DECLARE_DYNAMIC_CLASS(wxWindowDFB) DECLARE_DYNAMIC_CLASS(wxWindowDFB)
DECLARE_NO_COPY_CLASS(wxWindowDFB) wxDECLARE_NO_COPY_CLASS(wxWindowDFB);
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
}; };

View File

@@ -224,7 +224,7 @@ private:
void OnSysColourChanged(wxSysColourChangedEvent& event); void OnSysColourChanged(wxSysColourChangedEvent& event);
DECLARE_NO_COPY_CLASS(wxDialogBase) wxDECLARE_NO_COPY_CLASS(wxDialogBase);
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
}; };

View File

@@ -180,7 +180,7 @@ public:
virtual wxEvent *Clone() const { return new wxDialUpEvent(*this); } virtual wxEvent *Clone() const { return new wxDialUpEvent(*this); }
private: private:
DECLARE_NO_ASSIGN_CLASS(wxDialUpEvent) wxDECLARE_NO_ASSIGN_CLASS(wxDialUpEvent);
}; };
// the type of dialup event handler function // the type of dialup event handler function

View File

@@ -156,7 +156,7 @@ private:
wxDirData *m_data; wxDirData *m_data;
DECLARE_NO_COPY_CLASS(wxDir) wxDECLARE_NO_COPY_CLASS(wxDir);
}; };
#endif // _WX_DIR_H_ #endif // _WX_DIR_H_

View File

@@ -122,7 +122,7 @@ private:
wxDisplayImpl *m_impl; wxDisplayImpl *m_impl;
DECLARE_NO_COPY_CLASS(wxDisplay) wxDECLARE_NO_COPY_CLASS(wxDisplay);
}; };
#endif // _WX_DISPLAY_H_BASE_ #endif // _WX_DISPLAY_H_BASE_

View File

@@ -89,7 +89,7 @@ protected:
friend class wxDisplayFactory; friend class wxDisplayFactory;
DECLARE_NO_COPY_CLASS(wxDisplayImpl) wxDECLARE_NO_COPY_CLASS(wxDisplayImpl);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -115,7 +115,7 @@ protected:
m_cursorMove, m_cursorMove,
m_cursorStop; m_cursorStop;
DECLARE_NO_COPY_CLASS(wxDropSourceBase) wxDECLARE_NO_COPY_CLASS(wxDropSourceBase);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -203,7 +203,7 @@ protected:
wxDataObject *m_dataObject; wxDataObject *m_dataObject;
wxDragResult m_defaultAction; wxDragResult m_defaultAction;
DECLARE_NO_COPY_CLASS(wxDropTargetBase) wxDECLARE_NO_COPY_CLASS(wxDropTargetBase);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -243,7 +243,7 @@ public:
virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def); virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def);
private: private:
DECLARE_NO_COPY_CLASS(wxTextDropTarget) wxDECLARE_NO_COPY_CLASS(wxTextDropTarget);
}; };
// A drop target which accepts files (dragged from File Manager or Explorer) // A drop target which accepts files (dragged from File Manager or Explorer)
@@ -259,7 +259,7 @@ public:
virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def); virtual wxDragResult OnData(wxCoord x, wxCoord y, wxDragResult def);
private: private:
DECLARE_NO_COPY_CLASS(wxFileDropTarget) wxDECLARE_NO_COPY_CLASS(wxFileDropTarget);
}; };
#endif // wxUSE_DRAG_AND_DROP #endif // wxUSE_DRAG_AND_DROP

View File

@@ -51,7 +51,7 @@ protected:
private: private:
DECLARE_CLASS(wxDocMDIParentFrame) DECLARE_CLASS(wxDocMDIParentFrame)
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxDocMDIParentFrame) wxDECLARE_NO_COPY_CLASS(wxDocMDIParentFrame);
}; };
/* /*
@@ -97,7 +97,7 @@ protected:
private: private:
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_CLASS(wxDocMDIChildFrame) DECLARE_CLASS(wxDocMDIChildFrame)
DECLARE_NO_COPY_CLASS(wxDocMDIChildFrame) wxDECLARE_NO_COPY_CLASS(wxDocMDIChildFrame);
}; };
#endif #endif

View File

@@ -190,7 +190,7 @@ protected:
private: private:
DECLARE_ABSTRACT_CLASS(wxDocument) DECLARE_ABSTRACT_CLASS(wxDocument)
DECLARE_NO_COPY_CLASS(wxDocument) wxDECLARE_NO_COPY_CLASS(wxDocument);
}; };
class WXDLLIMPEXP_CORE wxView: public wxEvtHandler class WXDLLIMPEXP_CORE wxView: public wxEvtHandler
@@ -251,7 +251,7 @@ protected:
private: private:
DECLARE_ABSTRACT_CLASS(wxView) DECLARE_ABSTRACT_CLASS(wxView)
DECLARE_NO_COPY_CLASS(wxView) wxDECLARE_NO_COPY_CLASS(wxView);
}; };
// Represents user interface (and other) properties of documents and views // Represents user interface (and other) properties of documents and views
@@ -336,7 +336,7 @@ protected:
private: private:
DECLARE_CLASS(wxDocTemplate) DECLARE_CLASS(wxDocTemplate)
DECLARE_NO_COPY_CLASS(wxDocTemplate) wxDECLARE_NO_COPY_CLASS(wxDocTemplate);
}; };
// One object of this class may be created in an application, to manage all // One object of this class may be created in an application, to manage all
@@ -489,7 +489,7 @@ protected:
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxDocManager) DECLARE_DYNAMIC_CLASS(wxDocManager)
DECLARE_NO_COPY_CLASS(wxDocManager) wxDECLARE_NO_COPY_CLASS(wxDocManager);
}; };
#if WXWIN_COMPATIBILITY_2_6 #if WXWIN_COMPATIBILITY_2_6
@@ -536,7 +536,7 @@ protected:
private: private:
DECLARE_CLASS(wxDocChildFrame) DECLARE_CLASS(wxDocChildFrame)
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxDocChildFrame) wxDECLARE_NO_COPY_CLASS(wxDocChildFrame);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -581,7 +581,7 @@ private:
typedef wxFrame base_type; typedef wxFrame base_type;
DECLARE_CLASS(wxDocParentFrame) DECLARE_CLASS(wxDocParentFrame)
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxDocParentFrame) wxDECLARE_NO_COPY_CLASS(wxDocParentFrame);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -608,7 +608,7 @@ protected:
private: private:
DECLARE_DYNAMIC_CLASS(wxDocPrintout) DECLARE_DYNAMIC_CLASS(wxDocPrintout)
DECLARE_NO_COPY_CLASS(wxDocPrintout) wxDECLARE_NO_COPY_CLASS(wxDocPrintout);
}; };
#endif // wxUSE_PRINTING_ARCHITECTURE #endif // wxUSE_PRINTING_ARCHITECTURE
@@ -668,7 +668,7 @@ private:
wxWindowID m_idBase; wxWindowID m_idBase;
DECLARE_DYNAMIC_CLASS(wxFileHistory) DECLARE_DYNAMIC_CLASS(wxFileHistory)
DECLARE_NO_COPY_CLASS(wxFileHistory) wxDECLARE_NO_COPY_CLASS(wxFileHistory);
}; };
#if WXWIN_COMPATIBILITY_2_6 #if WXWIN_COMPATIBILITY_2_6

View File

@@ -375,7 +375,7 @@ protected:
// no copy ctor/assignment operators (or we'd try to unload the library // no copy ctor/assignment operators (or we'd try to unload the library
// twice) // twice)
DECLARE_NO_COPY_CLASS(wxDynamicLibrary) wxDECLARE_NO_COPY_CLASS(wxDynamicLibrary);
}; };
#ifdef __WXMSW__ #ifdef __WXMSW__

View File

@@ -94,7 +94,7 @@ private:
void RegisterModules(); // Init any wxModules in the lib. void RegisterModules(); // Init any wxModules in the lib.
void UnregisterModules(); // Cleanup any wxModules we installed. void UnregisterModules(); // Cleanup any wxModules we installed.
DECLARE_NO_COPY_CLASS(wxPluginLibrary) wxDECLARE_NO_COPY_CLASS(wxPluginLibrary);
}; };
@@ -144,7 +144,7 @@ private:
// We could allow this class to be copied if we really // We could allow this class to be copied if we really
// wanted to, but not without modification. // wanted to, but not without modification.
DECLARE_NO_COPY_CLASS(wxPluginManager) wxDECLARE_NO_COPY_CLASS(wxPluginManager);
}; };

View File

@@ -153,7 +153,7 @@ class WXDLLIMPEXP_BASE wxEncodingConverter : public wxObject
bool m_UnicodeInput, m_UnicodeOutput; bool m_UnicodeInput, m_UnicodeOutput;
bool m_JustCopy; bool m_JustCopy;
DECLARE_NO_COPY_CLASS(wxEncodingConverter) wxDECLARE_NO_COPY_CLASS(wxEncodingConverter);
}; };
#endif // _WX_ENCCONV_H_ #endif // _WX_ENCCONV_H_

View File

@@ -963,7 +963,7 @@ private:
wxEvent& m_event; wxEvent& m_event;
int m_propagationLevelOld; int m_propagationLevelOld;
DECLARE_NO_COPY_CLASS(wxPropagationDisabler) wxDECLARE_NO_COPY_CLASS(wxPropagationDisabler);
}; };
/* /*
@@ -988,7 +988,7 @@ public:
private: private:
wxEvent& m_event; wxEvent& m_event;
DECLARE_NO_COPY_CLASS(wxPropagateOnce) wxDECLARE_NO_COPY_CLASS(wxPropagateOnce);
}; };
@@ -2723,7 +2723,7 @@ struct WXDLLIMPEXP_BASE wxEventTableEntryBase
wxObject* m_callbackUserData; wxObject* m_callbackUserData;
private: private:
DECLARE_NO_ASSIGN_CLASS(wxEventTableEntryBase) wxDECLARE_NO_ASSIGN_CLASS(wxEventTableEntryBase);
}; };
// an entry from a static event table // an entry from a static event table
@@ -2744,7 +2744,7 @@ struct WXDLLIMPEXP_BASE wxEventTableEntry : public wxEventTableEntryBase
const int& m_eventType; const int& m_eventType;
private: private:
DECLARE_NO_ASSIGN_CLASS(wxEventTableEntry) wxDECLARE_NO_ASSIGN_CLASS(wxEventTableEntry);
}; };
// an entry used in dynamic event table managed by wxEvtHandler::Connect() // an entry used in dynamic event table managed by wxEvtHandler::Connect()
@@ -2762,7 +2762,7 @@ struct WXDLLIMPEXP_BASE wxDynamicEventTableEntry : public wxEventTableEntryBase
int m_eventType; int m_eventType;
private: private:
DECLARE_NO_ASSIGN_CLASS(wxDynamicEventTableEntry) wxDECLARE_NO_ASSIGN_CLASS(wxDynamicEventTableEntry);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -2835,7 +2835,7 @@ protected:
wxEventHashTable* m_previous; wxEventHashTable* m_previous;
wxEventHashTable* m_next; wxEventHashTable* m_next;
DECLARE_NO_COPY_CLASS(wxEventHashTable) wxDECLARE_NO_COPY_CLASS(wxEventHashTable);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -3402,7 +3402,7 @@ private:
friend class wxEvtHandler; friend class wxEvtHandler;
DECLARE_NO_ASSIGN_CLASS(wxEventConnectionRef) wxDECLARE_NO_ASSIGN_CLASS(wxEventConnectionRef);
}; };
// Post a message to the given event handler which will be processed during the // Post a message to the given event handler which will be processed during the
@@ -3457,7 +3457,7 @@ protected:
wxArrayInt m_eventsToBlock; wxArrayInt m_eventsToBlock;
wxWindow *m_window; wxWindow *m_window;
DECLARE_NO_COPY_CLASS(wxEventBlocker) wxDECLARE_NO_COPY_CLASS(wxEventBlocker);
}; };
typedef void (wxEvtHandler::*wxCommandEventFunction)(wxCommandEvent&); typedef void (wxEvtHandler::*wxCommandEventFunction)(wxCommandEvent&);

View File

@@ -76,7 +76,7 @@ protected:
// the pointer to currently active loop // the pointer to currently active loop
static wxEventLoopBase *ms_activeLoop; static wxEventLoopBase *ms_activeLoop;
DECLARE_NO_COPY_CLASS(wxEventLoopBase) wxDECLARE_NO_COPY_CLASS(wxEventLoopBase);
}; };
#if defined(__WXMSW__) || defined(__WXMAC__) || defined(__WXDFB__) || defined(__UNIX__) #if defined(__WXMSW__) || defined(__WXMAC__) || defined(__WXDFB__) || defined(__UNIX__)
@@ -166,7 +166,7 @@ protected:
// the pointer to the port specific implementation class // the pointer to the port specific implementation class
wxEventLoopImpl *m_impl; wxEventLoopImpl *m_impl;
DECLARE_NO_COPY_CLASS(wxGUIEventLoop) wxDECLARE_NO_COPY_CLASS(wxGUIEventLoop);
}; };
#endif // platforms #endif // platforms

View File

@@ -121,7 +121,7 @@ protected:
// the last string we searched for // the last string we searched for
wxString m_lastSearch; wxString m_lastSearch;
DECLARE_NO_COPY_CLASS(wxFindReplaceDialogBase) wxDECLARE_NO_COPY_CLASS(wxFindReplaceDialogBase);
}; };
// include wxFindReplaceDialog declaration // include wxFindReplaceDialog declaration

View File

@@ -252,7 +252,7 @@ private:
bool m_isDirty; // if true, we have unsaved changes bool m_isDirty; // if true, we have unsaved changes
DECLARE_NO_COPY_CLASS(wxFileConfig) wxDECLARE_NO_COPY_CLASS(wxFileConfig);
DECLARE_ABSTRACT_CLASS(wxFileConfig) DECLARE_ABSTRACT_CLASS(wxFileConfig)
}; };

View File

@@ -170,7 +170,7 @@ private:
void Init(); void Init();
DECLARE_DYNAMIC_CLASS(wxFileDialogBase) DECLARE_DYNAMIC_CLASS(wxFileDialogBase)
DECLARE_NO_COPY_CLASS(wxFileDialogBase) wxDECLARE_NO_COPY_CLASS(wxFileDialogBase);
}; };

View File

@@ -99,7 +99,7 @@ private:
#endif // wxUSE_DATETIME #endif // wxUSE_DATETIME
DECLARE_ABSTRACT_CLASS(wxFSFile) DECLARE_ABSTRACT_CLASS(wxFSFile)
DECLARE_NO_COPY_CLASS(wxFSFile) wxDECLARE_NO_COPY_CLASS(wxFSFile);
}; };
@@ -247,7 +247,7 @@ protected:
// Handlers local to this instance // Handlers local to this instance
DECLARE_DYNAMIC_CLASS(wxFileSystem) DECLARE_DYNAMIC_CLASS(wxFileSystem)
DECLARE_NO_COPY_CLASS(wxFileSystem) wxDECLARE_NO_COPY_CLASS(wxFileSystem);
}; };

View File

@@ -65,7 +65,7 @@ private:
bool m_ok; bool m_ok;
DECLARE_NO_COPY_CLASS(wxFontMapperPathChanger) wxDECLARE_NO_COPY_CLASS(wxFontMapperPathChanger);
}; };
#endif // wxUSE_CONFIG #endif // wxUSE_CONFIG

View File

@@ -58,7 +58,7 @@ protected:
wxFontData m_fontData; wxFontData m_fontData;
DECLARE_NO_COPY_CLASS(wxFontDialogBase) wxDECLARE_NO_COPY_CLASS(wxFontDialogBase);
}; };
#if WXWIN_COMPATIBILITY_2_6 #if WXWIN_COMPATIBILITY_2_6

View File

@@ -81,7 +81,7 @@ private:
bool EnumerateEncodingsUTF8(const wxString& facename); bool EnumerateEncodingsUTF8(const wxString& facename);
#endif #endif
DECLARE_NO_COPY_CLASS(wxFontEnumerator) wxDECLARE_NO_COPY_CLASS(wxFontEnumerator);
}; };
#endif // wxUSE_FONTENUM #endif // wxUSE_FONTENUM

View File

@@ -170,7 +170,7 @@ private:
friend class wxFontMapperPathChanger; friend class wxFontMapperPathChanger;
DECLARE_NO_COPY_CLASS(wxFontMapperBase) wxDECLARE_NO_COPY_CLASS(wxFontMapperBase);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -264,7 +264,7 @@ protected:
wxWindow *m_windowParent; wxWindow *m_windowParent;
private: private:
DECLARE_NO_COPY_CLASS(wxFontMapper) wxDECLARE_NO_COPY_CLASS(wxFontMapper);
}; };
#endif // wxUSE_GUI #endif // wxUSE_GUI

View File

@@ -251,7 +251,7 @@ protected:
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
#endif // wxUSE_MENUS && wxUSE_STATUSBAR #endif // wxUSE_MENUS && wxUSE_STATUSBAR
DECLARE_NO_COPY_CLASS(wxFrameBase) wxDECLARE_NO_COPY_CLASS(wxFrameBase);
}; };
// include the real class declaration // include the real class declaration

View File

@@ -47,7 +47,7 @@ private:
wxString DoFind(); wxString DoFind();
DECLARE_NO_COPY_CLASS(wxArchiveFSHandler) wxDECLARE_NO_COPY_CLASS(wxArchiveFSHandler);
DECLARE_DYNAMIC_CLASS(wxArchiveFSHandler) DECLARE_DYNAMIC_CLASS(wxArchiveFSHandler)
}; };

View File

@@ -33,7 +33,7 @@ public:
virtual wxString FindNext(); virtual wxString FindNext();
private: private:
DECLARE_NO_COPY_CLASS(wxFilterFSHandler) wxDECLARE_NO_COPY_CLASS(wxFilterFSHandler);
}; };
#endif // wxUSE_FILESYSTEM #endif // wxUSE_FILESYSTEM

View File

@@ -100,7 +100,7 @@ protected:
int m_nDirection; // can be wxRIGHT or wxLEFT int m_nDirection; // can be wxRIGHT or wxLEFT
#endif #endif
DECLARE_NO_COPY_CLASS(wxGaugeBase) wxDECLARE_NO_COPY_CLASS(wxGaugeBase);
}; };
#if defined(__WXUNIVERSAL__) #if defined(__WXUNIVERSAL__)

View File

@@ -156,7 +156,7 @@ protected:
private: private:
DECLARE_DYNAMIC_CLASS(wxGBSizerItem) DECLARE_DYNAMIC_CLASS(wxGBSizerItem)
DECLARE_NO_COPY_CLASS(wxGBSizerItem) wxDECLARE_NO_COPY_CLASS(wxGBSizerItem);
}; };
@@ -294,7 +294,7 @@ protected:
private: private:
DECLARE_CLASS(wxGridBagSizer) DECLARE_CLASS(wxGridBagSizer)
DECLARE_NO_COPY_CLASS(wxGridBagSizer) wxDECLARE_NO_COPY_CLASS(wxGridBagSizer);
}; };
//--------------------------------------------------------------------------- //---------------------------------------------------------------------------

View File

@@ -812,7 +812,7 @@ protected:
static wxObject* ms_stockObject[ITEMCOUNT]; static wxObject* ms_stockObject[ITEMCOUNT];
DECLARE_NO_COPY_CLASS(wxStockGDI) wxDECLARE_NO_COPY_CLASS(wxStockGDI);
}; };
#define wxITALIC_FONT wxStockGDI::instance().GetFont(wxStockGDI::FONT_ITALIC) #define wxITALIC_FONT wxStockGDI::instance().GetFont(wxStockGDI::FONT_ITALIC)

View File

@@ -33,7 +33,7 @@ public:
private: private:
wxFrame *m_InfoFrame; wxFrame *m_InfoFrame;
DECLARE_NO_COPY_CLASS(wxBusyInfo) wxDECLARE_NO_COPY_CLASS(wxBusyInfo);
}; };

View File

@@ -297,7 +297,7 @@ private:
DECLARE_DYNAMIC_CLASS(wxGenericCalendarCtrl) DECLARE_DYNAMIC_CLASS(wxGenericCalendarCtrl)
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxGenericCalendarCtrl) wxDECLARE_NO_COPY_CLASS(wxGenericCalendarCtrl);
}; };
#endif // _WX_GENERIC_CALCTRLG_H #endif // _WX_GENERIC_CALCTRLG_H

View File

@@ -86,7 +86,7 @@ protected:
const wxString *choices, const wxString *choices,
long styleLbox); long styleLbox);
DECLARE_NO_COPY_CLASS(wxAnyChoiceDialog) wxDECLARE_NO_COPY_CLASS(wxAnyChoiceDialog);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -116,7 +116,7 @@ private:
return true; return true;
} }
DECLARE_NO_COPY_CLASS(wxControlWithItemsGeneric) wxDECLARE_NO_COPY_CLASS(wxControlWithItemsGeneric);
}; };
#endif // _WX_GENERIC_CTRLSUB_H_ #endif // _WX_GENERIC_CTRLSUB_H_

View File

@@ -522,7 +522,7 @@ private:
private: private:
DECLARE_DYNAMIC_CLASS(wxDataViewCtrl) DECLARE_DYNAMIC_CLASS(wxDataViewCtrl)
DECLARE_NO_COPY_CLASS(wxDataViewCtrl) wxDECLARE_NO_COPY_CLASS(wxDataViewCtrl);
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
}; };

View File

@@ -81,7 +81,7 @@ private:
wxCalendarComboPopup* m_popup; wxCalendarComboPopup* m_popup;
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxDatePickerCtrlGeneric) wxDECLARE_NO_COPY_CLASS(wxDatePickerCtrlGeneric);
}; };
#endif // _WX_GENERIC_DATECTRL_H_ #endif // _WX_GENERIC_DATECTRL_H_

View File

@@ -199,7 +199,7 @@ private:
private: private:
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxGenericDirCtrl) DECLARE_DYNAMIC_CLASS(wxGenericDirCtrl)
DECLARE_NO_COPY_CLASS(wxGenericDirCtrl) wxDECLARE_NO_COPY_CLASS(wxGenericDirCtrl);
}; };
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
@@ -239,7 +239,7 @@ protected:
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_CLASS(wxDirFilterListCtrl) DECLARE_CLASS(wxDirFilterListCtrl)
DECLARE_NO_COPY_CLASS(wxDirFilterListCtrl) wxDECLARE_NO_COPY_CLASS(wxDirFilterListCtrl);
}; };
#if !defined(__WXMSW__) && !defined(__WXMAC__) && !defined(__WXPM__) #if !defined(__WXMSW__) && !defined(__WXMAC__) && !defined(__WXPM__)

View File

@@ -265,7 +265,7 @@ protected:
private: private:
DECLARE_DYNAMIC_CLASS(wxGenericDragImage) DECLARE_DYNAMIC_CLASS(wxGenericDragImage)
DECLARE_NO_COPY_CLASS(wxGenericDragImage) wxDECLARE_NO_COPY_CLASS(wxGenericDragImage);
}; };
#endif #endif

View File

@@ -281,7 +281,7 @@ protected:
// no friends // no friends
friend class wxGridCellEditorDummyFriend; friend class wxGridCellEditorDummyFriend;
DECLARE_NO_COPY_CLASS(wxGridCellEditor) wxDECLARE_NO_COPY_CLASS(wxGridCellEditor);
}; };
@@ -435,7 +435,7 @@ private:
wxAttrKind m_attrkind; wxAttrKind m_attrkind;
// use Clone() instead // use Clone() instead
DECLARE_NO_COPY_CLASS(wxGridCellAttr) wxDECLARE_NO_COPY_CLASS(wxGridCellAttr);
// suppress the stupid gcc warning about the class having private dtor and // suppress the stupid gcc warning about the class having private dtor and
// no friends // no friends
@@ -480,7 +480,7 @@ private:
wxGridCellAttrProviderData *m_data; wxGridCellAttrProviderData *m_data;
DECLARE_NO_COPY_CLASS(wxGridCellAttrProvider) wxDECLARE_NO_COPY_CLASS(wxGridCellAttrProvider);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -649,7 +649,7 @@ private:
wxGridCellAttrProvider *m_attrProvider; wxGridCellAttrProvider *m_attrProvider;
DECLARE_ABSTRACT_CLASS(wxGridTableBase) DECLARE_ABSTRACT_CLASS(wxGridTableBase)
DECLARE_NO_COPY_CLASS(wxGridTableBase) wxDECLARE_NO_COPY_CLASS(wxGridTableBase);
}; };
@@ -694,7 +694,7 @@ private:
int m_comInt1; int m_comInt1;
int m_comInt2; int m_comInt2;
DECLARE_NO_COPY_CLASS(wxGridTableMessage) wxDECLARE_NO_COPY_CLASS(wxGridTableMessage);
}; };
@@ -2039,7 +2039,7 @@ private:
DECLARE_DYNAMIC_CLASS( wxGrid ) DECLARE_DYNAMIC_CLASS( wxGrid )
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxGrid) wxDECLARE_NO_COPY_CLASS(wxGrid);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -2080,7 +2080,7 @@ private:
wxGrid *m_grid; wxGrid *m_grid;
DECLARE_NO_COPY_CLASS(wxGridUpdateLocker) wxDECLARE_NO_COPY_CLASS(wxGridUpdateLocker);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -42,7 +42,7 @@ private:
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxGridCellEditorEvtHandler) DECLARE_DYNAMIC_CLASS(wxGridCellEditorEvtHandler)
DECLARE_NO_COPY_CLASS(wxGridCellEditorEvtHandler) wxDECLARE_NO_COPY_CLASS(wxGridCellEditorEvtHandler);
}; };
@@ -92,7 +92,7 @@ private:
size_t m_maxChars; // max number of chars allowed size_t m_maxChars; // max number of chars allowed
wxString m_value; wxString m_value;
DECLARE_NO_COPY_CLASS(wxGridCellTextEditor) wxDECLARE_NO_COPY_CLASS(wxGridCellTextEditor);
}; };
// the editor for numeric (long) data // the editor for numeric (long) data
@@ -149,7 +149,7 @@ private:
long m_value; long m_value;
DECLARE_NO_COPY_CLASS(wxGridCellNumberEditor) wxDECLARE_NO_COPY_CLASS(wxGridCellNumberEditor);
}; };
// the editor for floating point numbers (double) data // the editor for floating point numbers (double) data
@@ -185,7 +185,7 @@ private:
m_precision; m_precision;
double m_value; double m_value;
DECLARE_NO_COPY_CLASS(wxGridCellFloatEditor) wxDECLARE_NO_COPY_CLASS(wxGridCellFloatEditor);
}; };
#endif // wxUSE_TEXTCTRL #endif // wxUSE_TEXTCTRL
@@ -238,7 +238,7 @@ private:
static wxString ms_stringValues[2]; static wxString ms_stringValues[2];
DECLARE_NO_COPY_CLASS(wxGridCellBoolEditor) wxDECLARE_NO_COPY_CLASS(wxGridCellBoolEditor);
}; };
#endif // wxUSE_CHECKBOX #endif // wxUSE_CHECKBOX
@@ -283,7 +283,7 @@ protected:
wxArrayString m_choices; wxArrayString m_choices;
bool m_allowOthers; bool m_allowOthers;
DECLARE_NO_COPY_CLASS(wxGridCellChoiceEditor) wxDECLARE_NO_COPY_CLASS(wxGridCellChoiceEditor);
}; };
#endif // wxUSE_COMBOBOX #endif // wxUSE_COMBOBOX
@@ -305,7 +305,7 @@ public:
private: private:
long m_index; long m_index;
DECLARE_NO_COPY_CLASS(wxGridCellEnumEditor) wxDECLARE_NO_COPY_CLASS(wxGridCellEnumEditor);
}; };
#endif // wxUSE_COMBOBOX #endif // wxUSE_COMBOBOX
@@ -321,7 +321,7 @@ public:
virtual wxGridCellEditor *Clone() const virtual wxGridCellEditor *Clone() const
{ return new wxGridCellAutoWrapStringEditor; } { return new wxGridCellAutoWrapStringEditor; }
DECLARE_NO_COPY_CLASS(wxGridCellAutoWrapStringEditor) wxDECLARE_NO_COPY_CLASS(wxGridCellAutoWrapStringEditor);
}; };
#endif // wxUSE_GRID #endif // wxUSE_GRID

View File

@@ -109,7 +109,7 @@ private:
friend class WXDLLIMPEXP_FWD_ADV wxGrid; friend class WXDLLIMPEXP_FWD_ADV wxGrid;
DECLARE_NO_COPY_CLASS(wxGridSelection) wxDECLARE_NO_COPY_CLASS(wxGridSelection);
}; };
#endif // wxUSE_GRID #endif // wxUSE_GRID

View File

@@ -177,7 +177,7 @@ private:
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxHeaderCtrl) wxDECLARE_NO_COPY_CLASS(wxHeaderCtrl);
}; };
#endif // _WX_GENERIC_HEADERCTRLG_H_ #endif // _WX_GENERIC_HEADERCTRLG_H_

View File

@@ -38,7 +38,7 @@ private:
// the control we use // the control we use
wxTextCtrl *m_pTextCtrl; wxTextCtrl *m_pTextCtrl;
DECLARE_NO_COPY_CLASS(wxLogTextCtrl) wxDECLARE_NO_COPY_CLASS(wxLogTextCtrl);
}; };
#endif // wxUSE_TEXTCTRL #endif // wxUSE_TEXTCTRL
@@ -147,7 +147,7 @@ protected:
private: private:
wxLogFrame *m_pLogFrame; // the log frame wxLogFrame *m_pLogFrame; // the log frame
DECLARE_NO_COPY_CLASS(wxLogWindow) wxDECLARE_NO_COPY_CLASS(wxLogWindow);
}; };
#endif // wxUSE_LOGWINDOW #endif // wxUSE_LOGWINDOW

View File

@@ -54,7 +54,7 @@ private:
wxNotificationMessageDialog *m_dialog; wxNotificationMessageDialog *m_dialog;
DECLARE_NO_COPY_CLASS(wxGenericNotificationMessage) wxDECLARE_NO_COPY_CLASS(wxGenericNotificationMessage);
}; };
#endif // _WX_GENERIC_NOTIFMSG_H_ #endif // _WX_GENERIC_NOTIFMSG_H_

View File

@@ -57,7 +57,7 @@ protected:
private: private:
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxNumberEntryDialog) DECLARE_DYNAMIC_CLASS(wxNumberEntryDialog)
DECLARE_NO_COPY_CLASS(wxNumberEntryDialog) wxDECLARE_NO_COPY_CLASS(wxNumberEntryDialog);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -244,7 +244,7 @@ private:
wxVector<wxGridHeaderColumn> m_columns; wxVector<wxGridHeaderColumn> m_columns;
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxGridHeaderCtrl) wxDECLARE_NO_COPY_CLASS(wxGridHeaderCtrl);
}; };
// common base class for various grid subwindows // common base class for various grid subwindows
@@ -272,7 +272,7 @@ protected:
wxGrid *m_owner; wxGrid *m_owner;
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxGridSubwindow) wxDECLARE_NO_COPY_CLASS(wxGridSubwindow);
}; };
class WXDLLIMPEXP_ADV wxGridRowLabelWindow : public wxGridSubwindow class WXDLLIMPEXP_ADV wxGridRowLabelWindow : public wxGridSubwindow
@@ -290,7 +290,7 @@ private:
void OnMouseWheel( wxMouseEvent& event ); void OnMouseWheel( wxMouseEvent& event );
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxGridRowLabelWindow) wxDECLARE_NO_COPY_CLASS(wxGridRowLabelWindow);
}; };
@@ -309,7 +309,7 @@ private:
void OnMouseWheel( wxMouseEvent& event ); void OnMouseWheel( wxMouseEvent& event );
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxGridColLabelWindow) wxDECLARE_NO_COPY_CLASS(wxGridColLabelWindow);
}; };
@@ -327,7 +327,7 @@ private:
void OnPaint( wxPaintEvent& event ); void OnPaint( wxPaintEvent& event );
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxGridCornerLabelWindow) wxDECLARE_NO_COPY_CLASS(wxGridCornerLabelWindow);
}; };
class WXDLLIMPEXP_ADV wxGridWindow : public wxGridSubwindow class WXDLLIMPEXP_ADV wxGridWindow : public wxGridSubwindow
@@ -356,7 +356,7 @@ private:
void OnFocus( wxFocusEvent& ); void OnFocus( wxFocusEvent& );
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxGridWindow) wxDECLARE_NO_COPY_CLASS(wxGridWindow);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -785,7 +785,7 @@ struct wxGridDataTypeInfo
wxGridCellRenderer* m_renderer; wxGridCellRenderer* m_renderer;
wxGridCellEditor* m_editor; wxGridCellEditor* m_editor;
DECLARE_NO_COPY_CLASS(wxGridDataTypeInfo) wxDECLARE_NO_COPY_CLASS(wxGridDataTypeInfo);
}; };

View File

@@ -168,7 +168,7 @@ private:
class WXDLLIMPEXP_FWD_CORE wxWindowDisabler *m_winDisabler; class WXDLLIMPEXP_FWD_CORE wxWindowDisabler *m_winDisabler;
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxProgressDialog) wxDECLARE_NO_COPY_CLASS(wxProgressDialog);
}; };
#endif // wxUSE_PROGRESSDLG #endif // wxUSE_PROGRESSDLG

View File

@@ -200,7 +200,7 @@ private:
private: private:
DECLARE_DYNAMIC_CLASS(wxSashWindow) DECLARE_DYNAMIC_CLASS(wxSashWindow)
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxSashWindow) wxDECLARE_NO_COPY_CLASS(wxSashWindow);
}; };
class WXDLLIMPEXP_FWD_ADV wxSashEvent; class WXDLLIMPEXP_FWD_ADV wxSashEvent;

View File

@@ -46,7 +46,7 @@ private:
wxScrollbarVisibility m_xVisibility, wxScrollbarVisibility m_xVisibility,
m_yVisibility; m_yVisibility;
DECLARE_NO_COPY_CLASS(wxScrollHelper) wxDECLARE_NO_COPY_CLASS(wxScrollHelper);
}; };
#endif // _WX_GENERIC_SCROLLWIN_H_ #endif // _WX_GENERIC_SCROLLWIN_H_

View File

@@ -60,7 +60,7 @@ protected:
DECLARE_DYNAMIC_CLASS(wxSplashScreen) DECLARE_DYNAMIC_CLASS(wxSplashScreen)
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxSplashScreen) wxDECLARE_NO_COPY_CLASS(wxSplashScreen);
}; };
/* /*
@@ -84,7 +84,7 @@ protected:
wxBitmap m_bitmap; wxBitmap m_bitmap;
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxSplashScreenWindow) wxDECLARE_NO_COPY_CLASS(wxSplashScreenWindow);
}; };

View File

@@ -301,7 +301,7 @@ private:
DECLARE_DYNAMIC_CLASS(wxSplitterWindow) DECLARE_DYNAMIC_CLASS(wxSplitterWindow)
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxSplitterWindow) wxDECLARE_NO_COPY_CLASS(wxSplitterWindow);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -68,7 +68,7 @@ protected:
private: private:
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxTextEntryDialog) DECLARE_DYNAMIC_CLASS(wxTextEntryDialog)
DECLARE_NO_COPY_CLASS(wxTextEntryDialog) wxDECLARE_NO_COPY_CLASS(wxTextEntryDialog);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@@ -86,7 +86,7 @@ public:
const wxPoint& pos = wxDefaultPosition); const wxPoint& pos = wxDefaultPosition);
private: private:
DECLARE_DYNAMIC_CLASS(wxPasswordEntryDialog) DECLARE_DYNAMIC_CLASS(wxPasswordEntryDialog)
DECLARE_NO_COPY_CLASS(wxPasswordEntryDialog) wxDECLARE_NO_COPY_CLASS(wxPasswordEntryDialog);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -348,7 +348,7 @@ protected:
private: private:
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_DYNAMIC_CLASS(wxGenericTreeCtrl) DECLARE_DYNAMIC_CLASS(wxGenericTreeCtrl)
DECLARE_NO_COPY_CLASS(wxGenericTreeCtrl) wxDECLARE_NO_COPY_CLASS(wxGenericTreeCtrl);
}; };
#if !defined(__WXMSW__) || defined(__WXUNIVERSAL__) #if !defined(__WXMSW__) || defined(__WXUNIVERSAL__)

View File

@@ -163,7 +163,7 @@ protected:
DECLARE_DYNAMIC_CLASS(wxWizard) DECLARE_DYNAMIC_CLASS(wxWizard)
DECLARE_EVENT_TABLE() DECLARE_EVENT_TABLE()
DECLARE_NO_COPY_CLASS(wxWizard) wxDECLARE_NO_COPY_CLASS(wxWizard);
}; };
#endif // _WX_GENERIC_WIZARD_H_ #endif // _WX_GENERIC_WIZARD_H_

View File

@@ -102,7 +102,7 @@ private:
wxGIFErrorCode dgif(wxInputStream& stream, wxGIFErrorCode dgif(wxInputStream& stream,
GIFImage *img, int interl, int bits); GIFImage *img, int interl, int bits);
DECLARE_NO_COPY_CLASS(wxGIFDecoder) wxDECLARE_NO_COPY_CLASS(wxGIFDecoder);
}; };
#endif // wxUSE_STREAMS && wxUSE_GIF #endif // wxUSE_STREAMS && wxUSE_GIF

View File

@@ -512,7 +512,7 @@ protected:
wxDouble angle, wxDouble angle,
const wxGraphicsBrush& backgroundBrush); const wxGraphicsBrush& backgroundBrush);
DECLARE_NO_COPY_CLASS(wxGraphicsContext) wxDECLARE_NO_COPY_CLASS(wxGraphicsContext);
DECLARE_ABSTRACT_CLASS(wxGraphicsContext) DECLARE_ABSTRACT_CLASS(wxGraphicsContext)
}; };
@@ -620,7 +620,7 @@ public:
private: private:
DECLARE_NO_COPY_CLASS(wxGraphicsRenderer) wxDECLARE_NO_COPY_CLASS(wxGraphicsRenderer);
DECLARE_ABSTRACT_CLASS(wxGraphicsRenderer) DECLARE_ABSTRACT_CLASS(wxGraphicsRenderer)
}; };

View File

@@ -48,7 +48,7 @@ public:
private: private:
DECLARE_DYNAMIC_CLASS(wxGtkCalendarCtrl) DECLARE_DYNAMIC_CLASS(wxGtkCalendarCtrl)
DECLARE_NO_COPY_CLASS(wxGtkCalendarCtrl) wxDECLARE_NO_COPY_CLASS(wxGtkCalendarCtrl);
}; };
#endif // GTK_CALCTRL_H__ #endif // GTK_CALCTRL_H__

View File

@@ -463,7 +463,7 @@ private:
void GtkDisableSelectionEvents(); void GtkDisableSelectionEvents();
DECLARE_DYNAMIC_CLASS(wxDataViewCtrl) DECLARE_DYNAMIC_CLASS(wxDataViewCtrl)
DECLARE_NO_COPY_CLASS(wxDataViewCtrl) wxDECLARE_NO_COPY_CLASS(wxDataViewCtrl);
}; };

View File

@@ -31,7 +31,7 @@ protected:
// the exit code of this event loop // the exit code of this event loop
int m_exitcode; int m_exitcode;
DECLARE_NO_COPY_CLASS(wxGUIEventLoop) wxDECLARE_NO_COPY_CLASS(wxGUIEventLoop);
}; };
#endif // _WX_GTK_EVTLOOP_H_ #endif // _WX_GTK_EVTLOOP_H_

View File

@@ -204,7 +204,7 @@ private:
private: private:
DECLARE_DYNAMIC_CLASS(wxGnomePrinter) DECLARE_DYNAMIC_CLASS(wxGnomePrinter)
DECLARE_NO_COPY_CLASS(wxGnomePrinter) wxDECLARE_NO_COPY_CLASS(wxGnomePrinter);
}; };
//----------------------------------------------------------------------------- //-----------------------------------------------------------------------------
@@ -313,7 +313,7 @@ private:
private: private:
DECLARE_DYNAMIC_CLASS(wxGnomePrinterDCImpl) DECLARE_DYNAMIC_CLASS(wxGnomePrinterDCImpl)
DECLARE_NO_COPY_CLASS(wxGnomePrinterDCImpl) wxDECLARE_NO_COPY_CLASS(wxGnomePrinterDCImpl);
}; };
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

Some files were not shown because too many files have changed in this diff Show More