+ def SetPreviewSize(self, position = wxPoint(0, 0), size="Full"):
+ if size == "Full":
+ screenWidth = int(wx.wxSystemSettings_GetSystemMetric(wx.wxSYS_SCREEN_X))
+ screenHeight = int(wx.wxSystemSettings_GetSystemMetric(wx.wxSYS_SCREEN_Y))
+ self.preview_frame_size = wxSize(screenWidth, screenHeight)
+ self.preview_frame_pos = position
+ else:
+ self.preview_frame_size = size
+ self.preview_frame_pos = position
+