summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2005-02-02 13:48:08 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2005-02-02 13:48:08 +0000
commit18b1a2fdcad21254160203992518df20cfe34968 (patch)
treed1a01eb26a7e60642e6bbc04e4b9210974cb0011
parente4ccb4ac07d1c9a5d0798beb49d2048bcdd714bf (diff)
FLUID didn't add xclass() calls to windows (STR #718)
fluid/Fl_Window_Type.cxx: - Fl_Window_Type::write_code2() - now write xclass() code when xclass is set. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@4005 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
-rw-r--r--CHANGES1
-rw-r--r--fluid/Fl_Window_Type.cxx9
2 files changed, 8 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 11427ed8a..04a5b8051 100644
--- a/CHANGES
+++ b/CHANGES
@@ -1,5 +1,6 @@
CHANGES IN FLTK 1.1.7
+ - FLUID didn't add xclass() calls to windows (STR #718)
- The X11 DND code did not correctly select a text
format for incoming data (STR #711)
- Fixes to Fl_JPEG_Image error handler.
diff --git a/fluid/Fl_Window_Type.cxx b/fluid/Fl_Window_Type.cxx
index cc8415eba..dffd050a9 100644
--- a/fluid/Fl_Window_Type.cxx
+++ b/fluid/Fl_Window_Type.cxx
@@ -1,5 +1,5 @@
//
-// "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.10 2004/11/20 15:42:24 easysw Exp $"
+// "$Id$"
//
// Window type code for the Fast Light Tool Kit (FLTK).
//
@@ -751,6 +751,11 @@ void Fl_Window_Type::write_code2() {
if (modal) write_c("%so->set_modal();\n", indent());
else if (non_modal) write_c("%so->set_non_modal();\n", indent());
if (!((Fl_Window*)o)->border()) write_c("%so->clear_border();\n", indent());
+ if (xclass) {
+ write_c("%so->xclass(", indent());
+ write_cstring(xclass);
+ write_c(");\n");
+ }
write_c("%so->end();\n", indent());
if (((Fl_Window*)o)->resizable() == o)
write_c("%so->resizable(o);\n", indent());
@@ -807,5 +812,5 @@ int Fl_Window_Type::read_fdesign(const char* propname, const char* value) {
}
//
-// End of "$Id: Fl_Window_Type.cxx,v 1.13.2.10.2.10 2004/11/20 15:42:24 easysw Exp $".
+// End of "$Id$".
//