From 83beee574e109d433c24ae35b7137141f2a4d56d Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Sun, 30 Jul 2006 12:38:39 +0000 Subject: [PATCH] Compile fix. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/combobox.h | 4 ++-- src/gtk/choice.cpp | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/include/wx/combobox.h b/include/wx/combobox.h index c4ce9f63da..bb83358f10 100644 --- a/include/wx/combobox.h +++ b/include/wx/combobox.h @@ -14,8 +14,6 @@ #include "wx/defs.h" -#if wxUSE_COMBOBOX - /* * wxComboBox style flags */ @@ -25,6 +23,8 @@ #define wxCB_DROPDOWN 0x0020 #define wxCB_FILENAME 0x0040 +#if wxUSE_COMBOBOX + extern WXDLLEXPORT_DATA(const wxChar) wxComboBoxNameStr[]; // ---------------------------------------------------------------------------- diff --git a/src/gtk/choice.cpp b/src/gtk/choice.cpp index a7f05f679a..ba57eaa3f5 100644 --- a/src/gtk/choice.cpp +++ b/src/gtk/choice.cpp @@ -12,6 +12,7 @@ #if wxUSE_CHOICE #include "wx/choice.h" +#include "wx/combobox.h" #ifndef WX_PRECOMP #include "wx/arrstr.h" -- 2.47.2