]> git.saurik.com Git - wxWidgets.git/blobdiff - utils/wxOLE/samples/servlet/servlet.cpp
Removed use of deprecated functions
[wxWidgets.git] / utils / wxOLE / samples / servlet / servlet.cpp
index 9e6b2d64164c626a04ad65fc93ba221ff8dafadf..cbf5dfd47b893f563f6f95ba5e0ec4c25d52f962 100644 (file)
@@ -9,11 +9,6 @@
 // Licence:     wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
-    #pragma implementation "servlet.cpp"
-    #pragma interface "servlet.cpp"
-#endif
-
 // For compilers that support precompilation, includes "wx/wx.h".
 #include "wx/wxprec.h"
 
@@ -130,6 +125,6 @@ void MyOleControl::OnPaint( wxPaintEvent &WXUNUSED(event) )
 {
   wxPaintDC dc(this);
   dc.SetFont( wxFont( 24, wxDECORATIVE, wxNORMAL, wxNORMAL, FALSE, "charter" ) );
-  dc.DrawText( "wxWindows rules!", 5, 5 );
+  dc.DrawText( "wxWidgets rules!", 5, 5 );
 }