Commit Graph

826 Commits

Author SHA1 Message Date
Robin Dunn
bb4524c439 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 03:02:58 +00:00
Robin Dunn
19272049fd reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-29 02:08:09 +00:00
Robin Dunn
ba87052fcf Added GetUnicodeKey
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:27:06 +00:00
Robin Dunn
f454e36230 Add flush() to PyOnDemandOutputWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:22:33 +00:00
Robin Dunn
dfbb588585 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 21:09:45 +00:00
Robin Dunn
a001823c80 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 21:02:49 +00:00
Robin Dunn
329b045c61 Optimized sizers to not call CalcMin more often than neccessary
Window items added with wxFIXED_MINSIZE flag will set the window's
minsize to its curent size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:21:31 +00:00
Robin Dunn
9f88452895 * Implemented BestSize cache
* Added calls to InvalidateBestSize where things affecting BestSize
  are modified.  There are probably several other places where this
  still needs to be done...

* Added wxWindowBase::GetBestFittingSize that will merge the BestSize
  into the MinSize, (if any) and return the result.

* SetBestFittingSize will now only set the MinSize to the value that
  was passed to it, without merging in the BestSize


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:09:45 +00:00
Robin Dunn
2148e7014d improved assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 19:59:21 +00:00
Włodzimierz Skiba
daf3246330 wxParseWildcard renamed to wxParseCommonDialogsFilter. Its usage is extended from generic dialogs to MSW, Motif and other incoming ports.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-22 16:58:27 +00:00
Robin Dunn
d8d39b51e6 reverted m_adjustMinSize change prepatory for a new approach to fix
the problem


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27931 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 23:08:44 +00:00
Robin Dunn
fe5e444a73 Changes needed to accomodate wxTheClipboard now being a macro for wxClipboard::Get
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:37:35 +00:00
Robin Dunn
237302e704 Regenerated renamers, each has just a change in their headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 18:21:36 +00:00
Robin Dunn
f8167d6ee2 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 15:23:25 +00:00
Robin Dunn
fe161a2685 Controls will readjust their size and minsize when SetLabel or SetFont
are called.  Fixed up wxStaticText to blend the wxST_NO_AUTOSIZE with
this new functionality.  Made SetBestSize public under the
SetBestFittingSize name.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 01:35:10 +00:00
Robin Dunn
8826712ea0 in unicode mode the return value of gridtable.GetValue must be a
string or a unicode object, as the coerce to unicode function used can
only convert strings.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:23:35 +00:00
Robin Dunn
a8eff06059 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 06:11:50 +00:00
Robin Dunn
fd2dc34356 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 06:05:17 +00:00
Robin Dunn
fdc775af55 docstrign tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:52:01 +00:00
Robin Dunn
fa003c13c7 Added missing GetKind method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:51:43 +00:00
Robin Dunn
a6ef736205 Fixed broken DocDeclAStr macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:49:47 +00:00
Robin Dunn
908b74cdd6 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 03:47:18 +00:00
Robin Dunn
3b74f19449 Added Navigate, SetMinSize, SetMaxSize wxWindow methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 02:17:01 +00:00
Robin Dunn
03d51a2d40 Add placeholder for wxParseWildcard
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 21:03:19 +00:00
Robin Dunn
015256c091 Just a singel constructor for wxTextAttr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 21:02:31 +00:00
Robin Dunn
6923d0a947 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 22:07:24 +00:00
Robin Dunn
f2e6414168 If wxWidgets was build without wxDisplay then in Python it will raise
a NotImplementedError


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27789 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 19:45:51 +00:00
Robin Dunn
b00f16c865 Added new event binders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 19:37:33 +00:00
Robin Dunn
e483648882 ProgressDialog docstrign tweak
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27787 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 19:12:08 +00:00
Robin Dunn
3afe2fd691 Fix a couple warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 22:46:47 +00:00
Robin Dunn
d07096ad61 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 19:00:14 +00:00
Robin Dunn
a256902439 reSWIGed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 18:59:57 +00:00
Robin Dunn
e6ffceddda reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 18:54:49 +00:00
Robin Dunn
1de0f8e33b Support for new ctor and Union
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 18:54:34 +00:00
Robin Dunn
b05032577a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 17:31:33 +00:00
Robin Dunn
7a0b95b008 reSWIGed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 17:30:31 +00:00
Robin Dunn
d25d9ed08e Default position for PopupMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27709 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 17:05:20 +00:00
Robin Dunn
11207aefcf reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27705 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-09 07:12:47 +00:00
Robin Dunn
09c21d3b80 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27685 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 01:30:10 +00:00
Robin Dunn
356f3c650c Make the copy ctor for the wxPrint*Data classes avaialble from
Python. This is so we can ensure we get a copy of the data objects
when needed instead of just a reference to a data object within
another that may get deleted unexpectedly.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-08 00:04:54 +00:00
Robin Dunn
b8400a3a9d Notes about implementing CreatePopupMenu for the future
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-07 23:59:22 +00:00
Robin Dunn
3d8a2fd724 handle returning the cookie for Get[First|Next]Selected like in the treectrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-07 23:58:13 +00:00
Robin Dunn
bfddbb17dc reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 23:59:39 +00:00
Robin Dunn
248ed9435a reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 23:24:10 +00:00
Robin Dunn
da397248d3 doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 19:06:04 +00:00
Robin Dunn
3ea6e0ec63 Docstrings for the sizers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27608 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-04 05:18:49 +00:00
Robin Dunn
d55734102e Added more default args as needed to allow most window types to be
constructed with only the parent window arg.  In some cases other args
may be required for normal operation, but they can usually be set
after construction.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 20:53:05 +00:00
Robin Dunn
b2eb030f9e set the modules' pacakge name to "wx" using a new SWIG feature
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-02 02:29:55 +00:00
Robin Dunn
0439c23bdd reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 22:08:55 +00:00
Robin Dunn
e3b71cb883 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-01 21:57:03 +00:00