Commit Graph

23483 Commits

Author SHA1 Message Date
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
Julian Smart
1deb64c09e DoGetBestSize may be called before m_text and m_choice are set,
so check


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 14:55:25 +00:00
Mattia Barbon
7686554b25 Remove no longer used header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 14:53:50 +00:00
Václav Slavík
646b6ec1a8 GTK2 port is not experimental anymore
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 14:03:42 +00:00
Václav Slavík
816b59debf moved wxFontMapper tests to its own file and testcase
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 14:01:44 +00:00
Julian Smart
b325f27f23 Tex2RTF doesn't like {\tt{ thing}}
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-19 07:40:07 +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
Kevin Ollivier
8de5b24e54 Fixed to work with the new wxMacControl system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 20:08:12 +00:00
Włodzimierz Skiba
1d0d154068 Small step in making HelpGen up to date unicode application.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27888 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 19:25:50 +00:00
Włodzimierz Skiba
f5ad07e2ba Fixes for unused values and code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 18:28:31 +00:00
Julian Smart
7517318648 Latex corrections from Marc Albrecht
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27886 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 17:57:47 +00:00
Robin Dunn
f8e045e24b Give wxWindowGTK::ApplyWidgetStyle an implementation too so
non-control windows can also change colours, etc.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27885 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 17:30:32 +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
Włodzimierz Skiba
bc55323bc3 Charsets part moved from console sample to test unit.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27883 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 15:44:46 +00:00
Włodzimierz Skiba
6d27420f9e Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27882 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 15:18:36 +00:00
Włodzimierz Skiba
991420e6df Warning fixes for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 09:48:15 +00:00
Włodzimierz Skiba
ed679e7422 Flatening menu for Smartphones when menubar has only one menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27880 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 09:36:05 +00:00
Václav Slavík
c6c825d8dd new logic applies to SetFont(wxNullFont), too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:02:27 +00:00
Václav Slavík
5edef14ec8 reset fg/bg colour and font to default if set to wxNullColour/Font
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:02:01 +00:00
Václav Slavík
29c749b8ba test colours unsetting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27877 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:01:32 +00:00
Václav Slavík
4e4688beb1 minor visual improvements to wxTipDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27876 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 08:00:51 +00:00
Václav Slavík
72bbf76a54 new logic applies to SetFont(wxNullFont), too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 07:30:08 +00:00
Stefan Csomor
fb44fc34e8 removed use of p2cstr
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 07:15:28 +00:00
Václav Slavík
488eb04e3c fixed badly looking dialog (different spacing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 06:54:20 +00:00
Václav Slavík
cdfd8b1e84 fixed wxGenericDirCtrl sizing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27872 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-18 06:52:42 +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
b52acd035e Use GetBackgroundColour so it will revert to the default if
wxNullColour is used


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 22:50:54 +00:00
Robin Dunn
ee8bf34fba moved metrowerks debugger support in to wxUSE_BASE to avoid suplicate
defintion errors when using multi-lib build


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27869 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 22:40:26 +00:00
Robin Dunn
ece990873c Updated docs for Set[Fore|Back]groundColour with more hints about
using them with themes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 22:24:21 +00:00
Robin Dunn
4105cbfb05 oops, forgot to remove a bit of test code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 21:40:55 +00:00
Robin Dunn
16d4285706 Don't have to explicitly set the background any more, the default will
do the right thing.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27866 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 21:37:44 +00:00
Robin Dunn
44f08a2291 Use GetBackgroundColour in the default OnEraseBackground so it can use
the default if the colour hasn't been explicitly set


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 21:36:32 +00:00
Robin Dunn
44dfb5ce92 Set/Reset ThemeEnabled when changing the fore/background colours.
Using wxNullColour will reset to defaults.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 21:31:13 +00:00
Julian Smart
948f6c6e4c Corrected position of wxUSE_WEBKIT test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 20:30:20 +00:00
Robin Dunn
b25630fb6c Hide the dialog after running it as it may be a bit of time before it
is destroyed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:51:11 +00:00
Włodzimierz Skiba
13de0c8c9b Separation of wxUSE_FILEDLG and wxUSE_DIRDLG in generic implementations.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:50:20 +00:00
Włodzimierz Skiba
d29bf6775a Better markup.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:44:00 +00:00
Julian Smart
ec9f9256ea Added --enable-webkit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:42:56 +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
Włodzimierz Skiba
8ad74db31e Warning fixes. Code cleanup. Whitespaces and tabs removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 19:00:22 +00:00
Stefan Csomor
e5a9c66398 moved metrowerks debugger support out of wxUSE_GUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27856 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 18:27:52 +00:00
Václav Slavík
0a16b43640 reverted Julian's incorrect rename of wxWindows.dsp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 17:03:03 +00:00
Václav Slavík
e236828da1 it's OK to set background,foreground colour even with theming now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 17:01:51 +00:00
Włodzimierz Skiba
ca65c0440a Code cleaning: wxID_ANY, wxDefaultSize, wxDefaultPosition, true, false, wxEmptyString, tabs and white spaces.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 16:22:36 +00:00
Julian Smart
f938940e09 Allow wxSplitterWindow::Initialize(NULL) in case we've deleted both child
windows and want to clean up dangling pointers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 09:05:39 +00:00
Stefan Csomor
37de49a322 BU_EXACTFIT adapted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 08:06:33 +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