From 9846e7879c9501658ba2bc15fb325da73cbfd793 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Tue, 24 May 2011 20:00:56 +0000 Subject: Fix constructors for VC++ DLL builds (STR #2645). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@8736 ea41ed52-d2ee-0310-a9c1-e6b18d33e121 --- FL/Fl_Multi_Browser.H | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'FL/Fl_Multi_Browser.H') diff --git a/FL/Fl_Multi_Browser.H b/FL/Fl_Multi_Browser.H index 3502c4e63..2f029629a 100644 --- a/FL/Fl_Multi_Browser.H +++ b/FL/Fl_Multi_Browser.H @@ -51,8 +51,12 @@ public: The constructor specializes Fl_Browser() by setting the type to FL_MULTI_BROWSER. The destructor destroys the widget and frees all memory that has been allocated. */ +#if defined(FL_DLL) // implementation in src/Fl_Browser.cxx + Fl_Multi_Browser(int X,int Y,int W,int H,const char *L=0); +#else Fl_Multi_Browser(int X,int Y,int W,int H,const char *L=0) : Fl_Browser(X,Y,W,H,L) {type(FL_MULTI_BROWSER);} +#endif }; #endif -- cgit v1.2.3