don't use m_instanceAsWindow to convert dialog units, it's not fully constructed yet and can't provide the information

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-10-16 21:52:54 +00:00
parent fa4a69423d
commit 9a8d8c5a51
2 changed files with 6 additions and 11 deletions

View File

@@ -341,7 +341,7 @@ protected:
wxXmlNode *m_node;
wxString m_class;
wxObject *m_parent, *m_instance;
wxWindow *m_parentAsWindow, *m_instanceAsWindow;
wxWindow *m_parentAsWindow;
// --- Handy methods: