]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/png/pngdemo.h
Don't draw the primary highlight colors if the control doesn't have the focus.
[wxWidgets.git] / samples / png / pngdemo.h
index e250aa69d281733576b9ff85ceaa7e539c136450..4376d0477dc325a81037b7506b4df68d17f69d1b 100644 (file)
@@ -5,21 +5,17 @@
 // Modified by:
 // Created:     01/02/97
 // RCS-ID:      $Id$
-// Copyright:   (c) Julian Smart and Markus Holzem
-// Licence:    wxWindows license
+// Copyright:   (c) Julian Smart
+// Licence:     wxWindows license
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-#pragma interface
-#endif
-
 #include "wx/wx.h"
 
 // Define a new application
 class MyApp: public wxApp
 {
   public:
-    MyApp(void) ;
+    MyApp(void){};
     bool OnInit(void);
 };
 
@@ -31,6 +27,7 @@ class MyFrame: public wxFrame
   public:
     MyCanvas *canvas;
     MyFrame(wxFrame *parent, const wxString& title, const wxPoint& pos, const wxSize& size);
+    virtual ~MyFrame();
 
     void OnActivate(bool) {}
     void OnLoadFile(wxCommandEvent& event);
@@ -45,7 +42,7 @@ class MyCanvas: public wxScrolledWindow
 {
   public:
     MyCanvas(wxWindow *parent, const wxPoint& pos, const wxSize& size);
-    ~MyCanvas(void) ;
+    ~MyCanvas(void){};
 
     void OnPaint(wxPaintEvent& event);
 DECLARE_EVENT_TABLE()