X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4a55e2136300929798d0222b47f4f3e30f6275b..b7282ad267ebd476ec7353e84757d5e0777af01a:/include/wx/frame.h

diff --git a/include/wx/frame.h b/include/wx/frame.h
index 0735c82f8a..2af6cd1d8d 100644
--- a/include/wx/frame.h
+++ b/include/wx/frame.h
@@ -16,7 +16,7 @@
 // headers
 // ----------------------------------------------------------------------------
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
     #pragma interface "framebase.h"
 #endif
 
@@ -71,6 +71,13 @@ public:
     // if the frame has a toolbar) in client coordinates
     virtual wxPoint GetClientAreaOrigin() const;
 
+    // sends a size event to the window using its current size -- this has an
+    // effect of refreshing the window layout
+    //
+    // currently it is only implemented under MSW but is declared here to make
+    // it possible to call it in portable code without using #ifdef's
+    virtual void SendSizeEvent() { }
+
     // menu bar functions
     // ------------------