Remove unnecessary platform-specific #if / #endif clauses.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@13139 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
2ef3b39c6a
commit
d600ccc034
@ -129,9 +129,7 @@ void clip_callback(int source, void *data) { // called after clipboard was chang
|
|||||||
|
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
#if !(defined(__APPLE__) || defined(_WIN32))
|
fl_register_images(); // required for the X11 platform to allow pasting of images
|
||||||
fl_register_images(); // required to allow pasting of images
|
|
||||||
#endif
|
|
||||||
Fl_Window* win = new Fl_Window(500, 550, "clipboard viewer");
|
Fl_Window* win = new Fl_Window(500, 550, "clipboard viewer");
|
||||||
tabs = new clipboard_viewer(0, 0, 500, 500);
|
tabs = new clipboard_viewer(0, 0, 500, 500);
|
||||||
Fl_Group *g = new Fl_Group( 5, 30, 490, 460, Fl::clipboard_image); // g will display the image form
|
Fl_Group *g = new Fl_Group( 5, 30, 490, 460, Fl::clipboard_image); // g will display the image form
|
||||||
|
Loading…
Reference in New Issue
Block a user