mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-08 04:50:07 +01:00
- Add support for `RearrangeDialog` and its friends in the documentation builder; - Add XXXBook images for the various platforms. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@71882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
20 lines
728 B
Python
20 lines
728 B
Python
|
|
class MyRearrangeDialog(wx.RearrangeDialog):
|
|
|
|
def __init__(self, parent):
|
|
|
|
wx.RearrangeDialog.__init__(self, parent)
|
|
|
|
panel = wx.Panel(self)
|
|
sizer = wx.BoxSizer(wx.HORIZONTAL)
|
|
sizer.Add(wx.StaticText(panel, wx.ID_ANY,
|
|
"Column width in pixels:"))
|
|
sizer.Add(wx.TextCtrl(panel, wx.ID_ANY, ""))
|
|
panel.SetSizer(sizer)
|
|
self.AddExtraControls(panel)
|
|
|
|
|
|
# ... code to update the text control with the currently selected
|
|
# item width and to react to its changes omitted ...
|
|
|