From 71dce3fc9d5a2a7964d05be017fab5badc8c41b0 Mon Sep 17 00:00:00 2001 From: Jonathan Moore Liles Date: Sun, 13 May 2012 11:11:45 -0700 Subject: [PATCH] Fl_Window: Always use labeltype FL_NO_LABEL. --- src/Fl_Window.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Fl_Window.cxx b/src/Fl_Window.cxx index ae55557..3df1874 100644 --- a/src/Fl_Window.cxx +++ b/src/Fl_Window.cxx @@ -46,12 +46,12 @@ void Fl_Window::_Fl_Window() { type(FL_WINDOW); box(FL_FLAT_BOX); if (Fl::scheme_bg_) { - labeltype(FL_NORMAL_LABEL); - align(FL_ALIGN_CENTER | FL_ALIGN_INSIDE | FL_ALIGN_CLIP); - image(Fl::scheme_bg_); - } else { - labeltype(FL_NO_LABEL); - } + align(FL_ALIGN_IMAGE_BACKDROP); + image(Fl::scheme_bg_); + } + + labeltype(FL_NO_LABEL); + i = 0; xclass_ = 0; icon_ = 0;