little tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
<div class="document" id="recent-changes-for-wxpython">
|
<div class="document" id="recent-changes-for-wxpython">
|
||||||
<h1 class="title">Recent Changes for wxPython</h1>
|
<h1 class="title">Recent Changes for wxPython</h1>
|
||||||
<div class="section" id="id1">
|
<div class="section" id="id1">
|
||||||
<h1><a name="id1">2.5.2.2</a></h1>
|
<h1><a name="id1">2.5.2.3</a></h1>
|
||||||
<p>wx.ADJUST_MINSIZE is now the default behaviour for window items in
|
<p>wx.ADJUST_MINSIZE is now the default behaviour for window items in
|
||||||
sizers. This means that the item's GetMinSize and/or GetBestSize will
|
sizers. This means that the item's GetMinSize and/or GetBestSize will
|
||||||
be called when calculating layout and the return value from that will
|
be called when calculating layout and the return value from that will
|
||||||
|
@@ -787,7 +787,7 @@ new Navigate method in the wx.Window class to help send the event and
|
|||||||
it is used something like this:</p>
|
it is used something like this:</p>
|
||||||
<pre class="literal-block">
|
<pre class="literal-block">
|
||||||
flags = wx.NavigationKeyEvent.IsForward
|
flags = wx.NavigationKeyEvent.IsForward
|
||||||
if event.ShiftDown:
|
if event.ShiftDown():
|
||||||
flags = wx.NavigationKeyEvent.IsBackward
|
flags = wx.NavigationKeyEvent.IsBackward
|
||||||
if event.ControlDown():
|
if event.ControlDown():
|
||||||
flags |= wx.NavigationKeyEvent.WinChange
|
flags |= wx.NavigationKeyEvent.WinChange
|
||||||
|
Reference in New Issue
Block a user