]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/generic/laywin.h
Fixed resizing of wxTextCtrl
[wxWidgets.git] / include / wx / generic / laywin.h
index fcfc87a53dcd5ce32033a22703d54d0858eb31e2..cc2f79ce8bded4650b355fd390e8ae3f1a91d0f9 100644 (file)
@@ -63,6 +63,7 @@ public:
         SetEventType(wxEVT_QUERY_LAYOUT_INFO);
         m_requestedLength = 0;
         m_flags = 0;
+        m_id = id;
         m_alignment = wxLAYOUT_TOP;
         m_orientation = wxLAYOUT_HORIZONTAL;
     }
@@ -107,6 +108,7 @@ public:
     {
         SetEventType(wxEVT_CALCULATE_LAYOUT);
         m_flags = 0;
+       m_id = id;
     }
 // Read by the app
     inline void SetFlags(int flags) { m_flags = flags; }