diff --git a/include/wx/ctrlsub.h b/include/wx/ctrlsub.h index 901f52c45d..0393859bb5 100644 --- a/include/wx/ctrlsub.h +++ b/include/wx/ctrlsub.h @@ -425,7 +425,7 @@ private: #elif defined(__WXMOTIF__) #include "wx/motif/ctrlsub.h" #else - class wxControlWithItems : public wxControlWithItemsBase + class WXDLLEXPORT wxControlWithItems : public wxControlWithItemsBase { public: wxControlWithItems() { }