]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/erase/erase.cpp
Rebaked makefiles after htmllistbox and collapsable panel additions.
[wxWidgets.git] / samples / erase / erase.cpp
index 8a006320837b0380941e656a71b3d29238164828..87070e96fcee99db266812e947be69689e701fd0 100644 (file)
 // headers
 // ----------------------------------------------------------------------------
 
-#if defined(__GNUG__) && !defined(__APPLE__)
-    #pragma implementation "erase.cpp"
-    #pragma interface "erase.cpp"
-#endif
-
 // For compilers that support precompilation, includes "wx/wx.h".
 #include "wx/wxprec.h"
 
@@ -213,7 +208,7 @@ MyCanvas::MyCanvas( wxFrame *parent )
     m_bitmap = wxBitmap( wxICON(mondrian) );
 
     new wxStaticBitmap( this, wxID_ANY, m_bitmap, wxPoint(80,20) );
-    
+
     SetFocusIgnoringChildren();
 }
 
@@ -341,7 +336,7 @@ void MyCanvas::OnEraseBackground( wxEraseEvent& event )
     dc.SetPen(*wxGREEN_PEN);
 
     PrepareDC( dc );
-    
+
     // clear any junk currently displayed
     dc.Clear();