]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/aboutdlgg.cpp
Compile fix for Universal
[wxWidgets.git] / 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)