]> git.saurik.com Git - wxWidgets.git/commitdiff
use wxUSE_COLLPANE around usage of wxCollapsiblePane
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 30 Oct 2006 21:48:53 +0000 (21:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 30 Oct 2006 21:48:53 +0000 (21:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42774 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/aboutdlgg.cpp

index 506662d6c73f76146e213dd927364ca787b7062e..542020e699d79b70f7c4d95e6dc3bbb2a9828dce 100644 (file)
@@ -133,6 +133,7 @@ bool wxGenericAboutDialog::Create(const wxAboutDialogInfo& info)
 #endif // wxUSE_HYPERLINKCTRL/!wxUSE_HYPERLINKCTRL
     }
 
+#if wxUSE_COLLPANE
     // add licence
     if ( info.HasLicence() )
     {
@@ -145,6 +146,7 @@ bool wxGenericAboutDialog::Create(const wxAboutDialogInfo& info)
 
         m_sizerText->Add(licensepnl, wxSizerFlags(1).Expand().Border(wxBOTTOM));
     }
+#endif // wxUSE_COLLPANE
 
     // TODO: add credits (developers, artists, doc writers, translators)