* This class helps to reparent a specific window
*/
-class WXDLLIMPEXP_CORE wxAdoptedWindow;
+class WXDLLIMPEXP_FWD_CORE wxAdoptedWindow;
class WXDLLIMPEXP_CORE wxReparenter: public wxObject
{
public:
bool ProcessXEvent(WXEvent* event);
WXWindow FindAClientWindow(WXWindow window, const wxString& name);
-
+
static bool sm_done;
static wxAdoptedWindow* sm_toReparent;
static wxWindow* sm_newParent;
public:
wxAdoptedWindow();
wxAdoptedWindow(WXWindow window);
- ~wxAdoptedWindow();
+ virtual ~wxAdoptedWindow();
void SetHandle(WXWindow window) { m_mainWindow = window; m_clientWindow = window; }
- WXWindow GetHandle() const { return GetMainWindow(); }
+ WXWindow GetHandle() const { return X11GetMainWindow(); }
};
#endif