Fis the wxOGL demo to show the new size of objects
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -97,14 +97,14 @@ class MyEvtHandler(wxShapeEvtHandler):
|
||||
self.UpdateStatusBar(shape)
|
||||
|
||||
|
||||
def OnSize(self, x, y):
|
||||
self.base_OnSize(x, y)
|
||||
def OnSizingEndDragLeft(self, pt, x, y, keys, attch):
|
||||
self.base_OnSizingEndDragLeft(pt, x, y, keys, attch)
|
||||
self.UpdateStatusBar(self.GetShape())
|
||||
|
||||
|
||||
# def OnMovePost(self, dc, x, y, oldX, oldY, display):
|
||||
# self.base_OnMovePost(dc, x, y, oldX, oldY, display)
|
||||
# self.UpdateStatusBar(self.GetShape())
|
||||
def OnMovePost(self, dc, x, y, oldX, oldY, display):
|
||||
self.base_OnMovePost(dc, x, y, oldX, oldY, display)
|
||||
self.UpdateStatusBar(self.GetShape())
|
||||
|
||||
|
||||
def OnRightClick(self, *dontcare):
|
||||
@@ -236,3 +236,9 @@ manipulation of simple and complex graphic images on a canvas.
|
||||
"""
|
||||
|
||||
|
||||
|
||||
if __name__ == '__main__':
|
||||
import sys,os
|
||||
import run
|
||||
run.main(['', os.path.basename(sys.argv[0])])
|
||||
|
||||
|
Reference in New Issue
Block a user