mirror of
https://github.com/fltk/fltk.git
synced 2026-05-26 01:46:58 +08:00
Fix regression: failed to build shared FLTK libs
Add FL_EXPORT to some classes to make building shared libs possible. Building shared libs and 'fluid-shared' missed global symbols.
This commit is contained in:
@@ -21,7 +21,7 @@
|
||||
#include <FL/Fl_Scheme.H>
|
||||
#include <FL/Fl_Choice.H>
|
||||
|
||||
class Fl_Scheme_Choice : public Fl_Choice {
|
||||
class FL_EXPORT Fl_Scheme_Choice : public Fl_Choice {
|
||||
|
||||
protected:
|
||||
static void scheme_cb_(Fl_Widget *w, void *);
|
||||
|
||||
@@ -19,7 +19,7 @@
|
||||
|
||||
#include <FL/Fl_Button.H>
|
||||
|
||||
class Fl_Shortcut_Button : public Fl_Button {
|
||||
class FL_EXPORT Fl_Shortcut_Button : public Fl_Button {
|
||||
private:
|
||||
bool hot_, pre_hot_;
|
||||
Fl_Shortcut pre_esc_;
|
||||
|
||||
+3
-1
@@ -21,6 +21,8 @@
|
||||
Basic Fl_String class for FLTK.
|
||||
*/
|
||||
|
||||
#include "Fl_Export.H"
|
||||
|
||||
// See: https://en.cppreference.com/w/cpp/string/basic_string/basic_string
|
||||
|
||||
/**
|
||||
@@ -49,7 +51,7 @@
|
||||
|
||||
\since 1.4.0
|
||||
*/
|
||||
class Fl_String {
|
||||
class FL_EXPORT Fl_String {
|
||||
|
||||
private:
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user