]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/univ/toplevel.h
Change SetStringSelection to return bool like in other classes and ports
[wxWidgets.git] / include / wx / univ / toplevel.h
index e9265722ee85ad9ae3596e8630ed072887f09394..e446186e1f6c55bde7476dabab3edfb659f9bf2a 100644 (file)
@@ -11,7 +11,7 @@
 #ifndef __WX_UNIV_TOPLEVEL_H__
 #define __WX_UNIV_TOPLEVEL_H__
 
 #ifndef __WX_UNIV_TOPLEVEL_H__
 #define __WX_UNIV_TOPLEVEL_H__
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma interface "univtoplevel.h"
 #endif
 
     #pragma interface "univtoplevel.h"
 #endif
 
@@ -158,7 +158,7 @@ protected:
     void Init();
 
     void RefreshTitleBar();
     void Init();
 
     void RefreshTitleBar();
-    void OnNcPaint(wxPaintEvent& event);
+    void OnNcPaint(wxNcPaintEvent& event);
     void OnSystemMenu(wxCommandEvent& event);
 
     // TRUE if wxTLW should render decorations (aka titlebar) itself
     void OnSystemMenu(wxCommandEvent& event);
 
     // TRUE if wxTLW should render decorations (aka titlebar) itself