Author: manolo
Date: 2010-04-20 13:18:27 -0700 (Tue, 20 Apr 2010)
New Revision: 7549
Log:
Removed compilation warnings

Modified:
   branches/branch-1.3-Fl_Printer/FL/Fl_Abstract_Printer.H
   branches/branch-1.3-Fl_Printer/FL/Fl_Printer.H
   branches/branch-1.3-Fl_Printer/src/Fl_Clipboard_Device_win32.cxx

Modified: branches/branch-1.3-Fl_Printer/FL/Fl_Abstract_Printer.H
===================================================================
--- branches/branch-1.3-Fl_Printer/FL/Fl_Abstract_Printer.H     2010-04-20 
17:46:27 UTC (rev 7548)
+++ branches/branch-1.3-Fl_Printer/FL/Fl_Abstract_Printer.H     2010-04-20 
20:18:27 UTC (rev 7549)
@@ -64,6 +64,8 @@
 #endif
   /** \brief The constructor */
   Fl_Paged_Device() : Fl_Surface_Device(NULL) {type_ = device_type;};
+  /** \brief The destructor */
+  virtual ~Fl_Paged_Device() {};
 public:
   static const char *device_type;
   virtual int start_job(int pagecount, int *frompage = NULL, int *topage = 
NULL);

Modified: branches/branch-1.3-Fl_Printer/FL/Fl_Printer.H
===================================================================
--- branches/branch-1.3-Fl_Printer/FL/Fl_Printer.H      2010-04-20 17:46:27 UTC 
(rev 7548)
+++ branches/branch-1.3-Fl_Printer/FL/Fl_Printer.H      2010-04-20 20:18:27 UTC 
(rev 7549)
@@ -125,8 +125,9 @@
 #endif // Fl_Printer (platform-dependent)
 
   // Fl_Printer:: common for all platforms
-public:        // just to be sure ...
+private:
   void set_current();
+public:
   static const char *device_type;
 
 

Modified: branches/branch-1.3-Fl_Printer/src/Fl_Clipboard_Device_win32.cxx
===================================================================
--- branches/branch-1.3-Fl_Printer/src/Fl_Clipboard_Device_win32.cxx    
2010-04-20 17:46:27 UTC (rev 7548)
+++ branches/branch-1.3-Fl_Printer/src/Fl_Clipboard_Device_win32.cxx    
2010-04-20 20:18:27 UTC (rev 7549)
@@ -58,7 +58,6 @@
 
 int Fl_Clipboard_Device::stop(void)
 {
-  int w, h;
   HENHMETAFILE hmf = CloseEnhMetaFile (fl_gc);
   if ( hmf != NULL ) {
     if ( OpenClipboard (NULL) ){

_______________________________________________
fltk-commit mailing list
[email protected]
http://lists.easysw.com/mailman/listinfo/fltk-commit

Reply via email to