]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/x11/reparent.h
Add wxDataFormat GetMatchingPair() which wxGTK and wxMSW already had under different...
[wxWidgets.git] / include / wx / x11 / reparent.h
index 1d6494a8abca606751f1b3f614e672060588763b..b32d43f71c831777ee9c58e9f93fd3059d80d7a2 100644 (file)
@@ -18,7 +18,7 @@
  * This class helps to reparent a specific window
  */
 
  * This class helps to reparent a specific window
  */
 
-class WXDLLIMPEXP_CORE wxAdoptedWindow;
+class WXDLLIMPEXP_FWD_CORE wxAdoptedWindow;
 class WXDLLIMPEXP_CORE wxReparenter: public wxObject
 {
 public:
 class WXDLLIMPEXP_CORE wxReparenter: public wxObject
 {
 public:
@@ -57,7 +57,7 @@ class WXDLLIMPEXP_CORE wxAdoptedWindow: public wxWindow
   public:
     wxAdoptedWindow();
     wxAdoptedWindow(WXWindow window);
   public:
     wxAdoptedWindow();
     wxAdoptedWindow(WXWindow window);
-    ~wxAdoptedWindow();
+    virtual ~wxAdoptedWindow();
 
     void SetHandle(WXWindow window) { m_mainWindow = window; m_clientWindow = window; }
     WXWindow GetHandle() const { return GetMainWindow(); }
 
     void SetHandle(WXWindow window) { m_mainWindow = window; m_clientWindow = window; }
     WXWindow GetHandle() const { return GetMainWindow(); }