]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/scrolwin.cpp
A little clarification
[wxWidgets.git] / src / gtk / scrolwin.cpp
index 9745fb21a15320ba0c076a1ff7ff18c40370feff..8a302f507b96a69e6bc7938ba801ae15b6379d9c 100644 (file)
@@ -17,7 +17,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
     #pragma implementation "scrolwin.h"
 #endif
 
@@ -442,7 +442,7 @@ void wxScrolledWindow::SetTargetWindow( wxWindow *target, bool WXUNUSED(pushEven
     m_targetWindow = target;
 }
 
-wxWindow *wxScrolledWindow::GetTargetWindow()
+wxWindow *wxScrolledWindow::GetTargetWindow() const
 {
     return m_targetWindow;
 }