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:
parent
43ae343bf3
commit
2626962dd3
@ -21,7 +21,7 @@
|
|||||||
#include <FL/Fl_Scheme.H>
|
#include <FL/Fl_Scheme.H>
|
||||||
#include <FL/Fl_Choice.H>
|
#include <FL/Fl_Choice.H>
|
||||||
|
|
||||||
class Fl_Scheme_Choice : public Fl_Choice {
|
class FL_EXPORT Fl_Scheme_Choice : public Fl_Choice {
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
static void scheme_cb_(Fl_Widget *w, void *);
|
static void scheme_cb_(Fl_Widget *w, void *);
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include <FL/Fl_Button.H>
|
#include <FL/Fl_Button.H>
|
||||||
|
|
||||||
class Fl_Shortcut_Button : public Fl_Button {
|
class FL_EXPORT Fl_Shortcut_Button : public Fl_Button {
|
||||||
private:
|
private:
|
||||||
bool hot_, pre_hot_;
|
bool hot_, pre_hot_;
|
||||||
Fl_Shortcut pre_esc_;
|
Fl_Shortcut pre_esc_;
|
||||||
|
@ -21,6 +21,8 @@
|
|||||||
Basic Fl_String class for FLTK.
|
Basic Fl_String class for FLTK.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "Fl_Export.H"
|
||||||
|
|
||||||
// See: https://en.cppreference.com/w/cpp/string/basic_string/basic_string
|
// See: https://en.cppreference.com/w/cpp/string/basic_string/basic_string
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -49,7 +51,7 @@
|
|||||||
|
|
||||||
\since 1.4.0
|
\since 1.4.0
|
||||||
*/
|
*/
|
||||||
class Fl_String {
|
class FL_EXPORT Fl_String {
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/*
|
/*
|
||||||
|
Loading…
x
Reference in New Issue
Block a user