X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/34636400a0018eba4a1f63dda18cf32e944b959e..c47d0f2eb1fa40b287ad8bd16b593e3f6daa96e4:/include/wx/window.h diff --git a/include/wx/window.h b/include/wx/window.h index 3fdcd5acf0..6edbb62524 100644 --- a/include/wx/window.h +++ b/include/wx/window.h @@ -259,6 +259,8 @@ public: // centre with respect to the the parent window void Centre( int direction = wxHORIZONTAL ); void Center( int direction = wxHORIZONTAL ) { Centre(direction); } + void CentreOnParent(int direction = wxHORIZONTAL ); + void CenterOnParent(int direction = wxHORIZONTAL ) { CentreOnParent(direction); } // set window size to wrap around its children virtual void Fit();