]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/winuniv.cpp
Set event object correctly for the generated wxSizeEvents.
[wxWidgets.git] / src / univ / winuniv.cpp
index ce34052eb89b80824814e8c965078bab872eed72..2cfba82d833c2d7cd78fae86028a0586681ade05 100644 (file)
@@ -1,5 +1,5 @@
 ///////////////////////////////////////////////////////////////////////////////
-// Name:        src/univ/window.cpp
+// Name:        src/univ/winuniv.cpp
 // Purpose:     implementation of extra wxWindow methods for wxUniv port
 // Author:      Vadim Zeitlin
 // Modified by:
@@ -728,6 +728,11 @@ wxSize wxWindow::DoGetBestClientSize() const
     return wxWindowNative::DoGetBestSize();
 }
 
+wxSize wxWindow::DoGetBorderSize() const
+{
+    return AdjustSize(wxSize(0, 0));
+}
+
 wxSize wxWindow::AdjustSize(const wxSize& size) const
 {
     wxSize sz = size;