]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/motif/window.h
fixed bug with the caret positioning after SetValue() introduced by the last commit
[wxWidgets.git] / include / wx / motif / window.h
index 443290b339a6e8e1d132b1bf185f28d10981a6cd..e23aeda4421bab053c83425401ccf9d998243b51 100644 (file)
@@ -24,8 +24,6 @@
 
 class wxWindow : public wxWindowBase
 {
 
 class wxWindow : public wxWindowBase
 {
-DECLARE_DYNAMIC_CLASS(wxWindow)
-
 friend class WXDLLEXPORT wxDC;
 friend class WXDLLEXPORT wxWindowDC;
 
 friend class WXDLLEXPORT wxDC;
 friend class WXDLLEXPORT wxWindowDC;
 
@@ -33,11 +31,11 @@ public:
     wxWindow() { Init(); }
 
     wxWindow(wxWindow *parent,
     wxWindow() { Init(); }
 
     wxWindow(wxWindow *parent,
-             wxWindowID id,
-             const wxPoint& pos = wxDefaultPosition,
-             const wxSize& size = wxDefaultSize,
-             long style = 0,
-             const wxString& name = wxPanelNameStr)
+            wxWindowID id,
+            const wxPoint& pos = wxDefaultPosition,
+            const wxSize& size = wxDefaultSize,
+            long style = 0,
+            const wxString& name = wxPanelNameStr)
     {
         Init();
         Create(parent, id, pos, size, style, name);
     {
         Init();
         Create(parent, id, pos, size, style, name);
@@ -327,7 +325,8 @@ private:
     // common part of all ctors
     void Init();
 
     // common part of all ctors
     void Init();
 
-    DECLARE_NO_COPY_CLASS(wxWindow);
+    DECLARE_DYNAMIC_CLASS(wxWindow)
+    DECLARE_NO_COPY_CLASS(wxWindow)
     DECLARE_EVENT_TABLE()
 };
 
     DECLARE_EVENT_TABLE()
 };