Commit Graph

1727 Commits

Author SHA1 Message Date
Robin Dunn
79e55c661b Fix HitTest offset, and some other little things that had been changed
in our old copy of treelistctrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 21:30:52 +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
bbc5a00631 Use top-level parent for the dialog parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:23:08 +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
edf3b4dcba override GetLabe/SetLabel as on wxMac it will draw its own label that
interferes with ours.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-28 19:21:46 +00:00
Robin Dunn
abd78a9ff1 don't create the font until after the app is initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-26 18:45:02 +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
7d9f33e29b testing tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 20:25:53 +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
d6375c6983 tweaks for testing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-24 04:45:20 +00:00
Robin Dunn
fd543c7a7a Create the wxPython dir (for the reverse renamers) if it doesn't exist
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-23 17:39:31 +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
478ba84485 Fix for drag object bug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27929 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:39:24 +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
71132988f8 change how email is sent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-21 22:33:45 +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
73a223694a Patch from Kevin Ollivier that merges buildrenamers into the main
config module, and other tweaks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 18:20:22 +00:00
Robin Dunn
5f280eaa57 Patch from Will Sadkin:
- Fixed intra-right-insert-field erase.
- Allowed right-insert in ipaddrctrl subfields.
- Made _SetValue() place cursor after last non-blank character inserted,
  rather than end of mask.
- Fixed combobox autoselect behavior to work similarly as above, so that
  said selection will only select the non-empty text, as per request.
- Fixed some incorrect undo behavior for right-insert fields
- Allowed derived classes (eg. numctrl) to pass modified values for undo
  processing (to handle/ignore grouping chars properly.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 16:25:55 +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
a2df8090e8 Patch from Pierre Hjälm.
"""
It removes "from __future__ import division", fixes a couple of bugs and
adds a lot of whitespace.

Since I also removed an instance of [::-1] for list reversing, I think this
ought to work on older pythons (I have not tested though).
"""




git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 16:32:03 +00:00
Robin Dunn
3d7d51faea Set the client size as calculated, but use the full size for the size hints
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 23:18:57 +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
7940844666 Fixed upload location, test sending an email when successfully finished
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:49:00 +00:00
Robin Dunn
33b7017158 XRC style names use the C++ style names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 05:16:30 +00:00
Robin Dunn
5dda6ad8b6 don't fail if the cleanup fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 05:27:09 +00:00
Robin Dunn
4b2826e515 trim the whitespace from the daily build version text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 05:20:03 +00:00
Robin Dunn
8396fb3fdc make sure the dist dir is created
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 05:18:58 +00:00
Robin Dunn
5fcb35d9bf regened with new version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 05:18:14 +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
10b12f715e layout tweak (it should use a sizer though)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 03:29:33 +00:00
Robin Dunn
ebd7cc3ae8 reordered base classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 02:22:30 +00:00
Robin Dunn
9e70f34262 added button testcase with larger font set after creation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27821 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 02:21:31 +00:00
Robin Dunn
857878dfee Version number update
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 02:18:42 +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
d441bff4c0 Oops, that space crept back in.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27805 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:36:44 +00:00
Robin Dunn
a3b4583a9d Check exit codes properly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:27:08 +00:00
Robin Dunn
e7db5d9c82 increased bit-depth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:26:47 +00:00
Robin Dunn
0362149469 regenerated with fix for wxPNGHandler::SaveFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:26:07 +00:00