Lazy creation of the picker dialogs (Francesco).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Michael Wetherell
2006-06-02 08:17:23 +00:00
parent cc57f388d7
commit 9a8362297a
2 changed files with 12 additions and 2 deletions

View File

@@ -65,7 +65,7 @@ public:
bool Destroy()
{
m_dialog->Destroy();
if (m_dialog) m_dialog->Destroy();
return wxButton::Destroy();
}