Commit Graph

28431 Commits

Author SHA1 Message Date
Robin Dunn
0d5b83dc3c Ensure that the encoding returned from locale.getdefaultlocale() is
valid, default to sys.getdefaultencoding() if not.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32915 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 21:52:49 +00:00
Robin Dunn
38f7d8013a Call evt.Skip by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32914 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 21:14:52 +00:00
Julian Smart
ea9aa80e7c Fixed toolbar bitmap bug introduced by deriving wxToolMenuBar
from wxToolBar
Documented PPC installation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 19:51:51 +00:00
Julian Smart
199da884d7 Added scripts to demonstrate how to package a PocketPC app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 19:45:57 +00:00
Vadim Zeitlin
3eeb7e105e added a test for/example of assert dialog box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32911 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 16:14:58 +00:00
Vadim Zeitlin
6c8f8d923a show call stack in the assert dialog box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 16:14:19 +00:00
Vadim Zeitlin
6ca154fcc1 removed C++ comment added by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 15:44:56 +00:00
Julian Smart
ec5f0c2412 Added wxDialog::GetToolBar for PocketPC
Added note about creating installers for PPC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 12:06:56 +00:00
Robin Dunn
83c84d5908 Bumped subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 00:38:46 +00:00
Julian Smart
f7eaa62f23 (Flickery) fix for droppings when there are no notebook pages
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 21:38:09 +00:00
Ryan Norton
f8fe8a9e82 Fix recursiveness on error...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 19:57:54 +00:00
Ryan Norton
16461bbc99 * Turn off by default...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32904 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 19:46:53 +00:00
Ryan Norton
52fe43410e * Quicktime lib no longer needed....
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 19:45:31 +00:00
Ryan Norton
d7a9c895d5 * Dynamically load all quicktime stuff using a version of Robert Roeblings wxDL_ macros
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 19:44:34 +00:00
Włodzimierz Skiba
682214d5c6 Fixed bug #1022383: 'several ComboBoxes appear selected'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 19:32:20 +00:00
Julian Smart
b0dd9c00ab Expanded wxSystemOptions docs, documented wxTE_CAPITALIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 19:20:33 +00:00
Ryan Norton
7d084e4d63 * Fix refreshing bug with control not showing up intially and asserting on resize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 17:34:46 +00:00
Vadim Zeitlin
5493c0ce27 include extern variables declarations in the tags file too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 16:51:03 +00:00
Vadim Zeitlin
013984337a restored const operator[]s for the compilers which need them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 15:27:14 +00:00
Vadim Zeitlin
9994e2daa0 continue with generating EVT_CONTEXT_MENU if EVT_TREE_ITEM_MENU not handled
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 15:16:22 +00:00
Vadim Zeitlin
ef46ef23cb added EVT_TREE_ITEM_MENU test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 15:13:41 +00:00
Vadim Zeitlin
bee09d36e2 avoid asserts from calling isprint(c) with non ASCII c
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 15:03:14 +00:00
Julian Smart
afafd942a1 Added WXK_SPECIAL... keycodes for special hardware buttons
Made (Un)RegisterHotKey WinCE-aware.
Added wxEVT_HIBERNATE event.
Now fakes wxEVT_ACTIVATE_APP to be symmetrical with wxEVT_HIBERNATE.
Added wxTE_CAPITALIZE for CAPEDIT controls.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 14:26:57 +00:00
Vadim Zeitlin
87a39e3b55 compilation fix after last commit (missing semicolon added)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 14:07:22 +00:00
Ryan Norton
14af6816d0 * Update for new event handler stuff
* Update notebook page text on file change
* Some other misc. cleanups (remove strmiids.lib dependancy, cleanup enums, etc.)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 11:50:18 +00:00
Ryan Norton
4153a503ba Update for new event handler stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 11:46:52 +00:00
Ryan Norton
a2a444e3a5 Reworked directshow implementation.
* Removes the strmiids.lib dependancy
* Uses the direct quartz automation interface, thus removing the dshow.h header dependancy
* Let COM handle loading quartz.dll


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 11:04:32 +00:00
Julian Smart
26f26e06c4 Script updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 10:11:37 +00:00
Julian Smart
df31591376 Add sample icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 10:05:27 +00:00
Julian Smart
598152189f Use sample icon, and title correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 09:46:49 +00:00
Julian Smart
18922659eb Use sample icon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 09:44:42 +00:00
Julian Smart
8ddd9176a4 Doc tweaks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 09:33:00 +00:00
Julian Smart
9eab353ce3 SetSashSize doc'ed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 09:31:19 +00:00
Dimitri Schoolwerth
d2103c8ca5 fixed signed/unsigned mismatch warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 00:16:53 +00:00
Vadim Zeitlin
294ea16de3 implemented wxMenuBar ctor taking array of menus/titles for all ports; added optional flags argument to it (patch 1162726)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:45:24 +00:00
Vadim Zeitlin
e71693c340 return if abort dialog couldn't be created (part of patch 1160117)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:24:30 +00:00
Vadim Zeitlin
e24b680c59 fixed bug due to missing break in GetColourFromGTKWidget() (part of patch 1160117)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:23:57 +00:00
Vadim Zeitlin
7d3e806d86 missing break in ParseFormat() (part of patch 1160117)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:23:15 +00:00
Vadim Zeitlin
60d8e88654 iterator methods fixes (patch 1164808)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:19:13 +00:00
Vadim Zeitlin
af80bc9294 fixed wxDateTime::SetToWeekDayInSameWeek(Sun, Monday_First)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 23:11:00 +00:00
Vadim Zeitlin
0356c2597e revert togglable tools to previous state if the change was vetoed by OnLeftClick()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 22:58:31 +00:00
Vadim Zeitlin
b618daa350 removed #ifdef __WXMAC__ as the code is now the same in both branches anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 22:39:27 +00:00
Robin Dunn
0b634ddd08 Use Update() instead of yielding and waiting for the update to happen there.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 22:35:53 +00:00
Vadim Zeitlin
c20ab85b60 GetVirtualSize() returns client size values for the m_virtualSize components which are not set (i.e. allow setting only one component of m_virtualSize instead of either none or both)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 22:29:20 +00:00
Vadim Zeitlin
f18f464cba don't set virtual size of the window to (0, 0) if scrollbars are removed from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 22:27:28 +00:00
Vadim Zeitlin
e731c9ada2 removed just added UnsetVirtualSize(), it's not needed finally
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 22:19:50 +00:00
Vadim Zeitlin
0bb405ac54 added UnsetVirtualSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 22:18:16 +00:00
Vadim Zeitlin
a66faa07e5 removed commented out calls to ReleaseMouse() (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 21:38:19 +00:00
Julian Smart
844adaa47a Provided GetBestVirtualSize and DoGetBestSize implementations for
generic and GTK+ wxScrolledWindow.

wxWindowBase::DoGetBestSize was returning a virtual size if there were child
controls, which was then used to set the scrolled window actual size.
Similarly, wxWindowBase::GetBestVirtualSize was returning
the actual window size; now we return the virtual size
for dimensions that have scrolling (e.g. vertical scrolling
direction), or the minimum/actual size for those that don't
(e.g. the maximum control width if there is no horizontal
scrolling).

This allows the scrolled window to be properly sized, whereas
before it would start off at the virtual size (giving
enormous layouts).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 21:21:45 +00:00
Vadim Zeitlin
50c06297bd added wxSizerSpacer and modified wxSizerItem to contain a pointer to either
wxWindow, wxSizer or wxSizerSpacer (instead of containing either a pointer or
just wxSize for spacers) and implement IsShown() and Show() by forwarding it
to the appropriate pointer: this means that now you can directly hide/show
windows/sizers/spacers instead of having to pass by containing sizers
Show(child) method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 21:17:38 +00:00