X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..f54e5c1a4f6952c62ed4480f7d26feddc20f98ba:/include/wx/x11/reparent.h diff --git a/include/wx/x11/reparent.h b/include/wx/x11/reparent.h index ae054a4bba..b32d43f71c 100644 --- a/include/wx/x11/reparent.h +++ b/include/wx/x11/reparent.h @@ -6,24 +6,20 @@ // Created: 2002-03-09 // RCS-ID: $Id$ // Copyright: (c) Julian Smart -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifndef _WX_REPARENT_H_ #define _WX_REPARENT_H_ -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma interface "reparent.h" -#endif - #include "wx/window.h" /* * This class helps to reparent a specific window */ -class wxAdoptedWindow; -class wxReparenter: public wxObject +class WXDLLIMPEXP_FWD_CORE wxAdoptedWindow; +class WXDLLIMPEXP_CORE wxReparenter: public wxObject { public: wxReparenter() {} @@ -56,12 +52,12 @@ protected: * toolkit. It has no parent until reparented. */ -class wxAdoptedWindow: public wxWindow +class WXDLLIMPEXP_CORE wxAdoptedWindow: public wxWindow { public: wxAdoptedWindow(); wxAdoptedWindow(WXWindow window); - ~wxAdoptedWindow(); + virtual ~wxAdoptedWindow(); void SetHandle(WXWindow window) { m_mainWindow = window; m_clientWindow = window; } WXWindow GetHandle() const { return GetMainWindow(); }