]> git.saurik.com Git - wxWidgets.git/commitdiff
Added Setter for Position (consistency)
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 28 Jul 2003 20:15:59 +0000 (20:15 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 28 Jul 2003 20:15:59 +0000 (20:15 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/window.h

index 596dadc0a406b9103fd4296adbb47a1adb6f9412..d61eac27d8ac376c922a2448adcf1ceea182a481 100644 (file)
@@ -219,6 +219,8 @@ public:
         return wxPoint(w, h);
     }
 
+       void SetPosition( const wxPoint& pt ) { Move( pt ) ; }
+
     void GetSize( int *w, int *h ) const { DoGetSize(w, h); }
     wxSize GetSize() const
     {