Commit Graph

13171 Commits

Author SHA1 Message Date
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
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
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
Kevin Ollivier
f26ca7f8e4 Fixing sizing problems on OS X.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-17 04:52:05 +00:00
Václav Slavík
6c3afc4224 fixed missing NO_GCC_PRAGMA
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 21:00:59 +00:00
Václav Slavík
38de94271f fixed incorrect handling of scaled fonts and fixed GetNativeFontInfo to return meaningful data with GTK1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 21:00:18 +00:00
Włodzimierz Skiba
1142c83773 Missed header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 14:58:18 +00:00
Włodzimierz Skiba
fb8a56b77c Smartphone menus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 06:37:55 +00:00
Włodzimierz Skiba
665b71b17c Warning fixes for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 06:34:53 +00:00
Włodzimierz Skiba
f428e6c50f Warning fixes for WinCE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-16 06:24:42 +00:00
Julian Smart
8700aedc16 Typo correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 22:30:08 +00:00
Julian Smart
eedc82f4e9 Navigate corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 21:55:18 +00:00
Julian Smart
6ad49e18b9 Consistent tab behaviour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 15:37:03 +00:00
Włodzimierz Skiba
9e152a5578 wxParseWildcard added instead of methods hidden under wxUSE_FILEDLG and wxUSE_DIRDLG.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 15:25:33 +00:00
Julian Smart
f5f3247dcc Tests for wxTE_PROCESS_TAB again in line with other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 14:49:54 +00:00
Julian Smart
5f6cfda79f With wxTE_PROCESS_TAB, tabs are now inserted in the text control
by default. The new Navigate function can be used to do navigation
programmatically.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 14:03:06 +00:00
Robin Dunn
6d50c6a702 Add DoGetBestSize to wxCheckListBox that adds room for the checkbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 03:23:05 +00:00
Robin Dunn
5f5183d34b Save the alpha values if the image has an alpha channel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-15 01:05:10 +00:00
Robin Dunn
8a07b43cf6 Patch [ 971542 ] Tiny speedup for stc2wx in PlatWX.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 22:44:57 +00:00
Robin Dunn
ec830416c5 This workaround is no longer needed because of fix in
wxWindowMac::MacWindowToRootWindow


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 22:05:52 +00:00
Robin Dunn
5437ff47ec Check if MacGetTopLevelWindow returns NULL before using it. This can
happen when the toplevel window is beign destroyed but a decendent
window (child, grandchild...) has an EVT_KILL_FOCUS handler that does
some drawing or other significant work.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 22:04:55 +00:00
Robin Dunn
2706d2fede fixed compile error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 18:50:19 +00:00
Václav Slavík
f40fdaa339 fixed GTK styles handling:
1. don't modify the style unless something changed
2. use gtk_widget_modify_style instead of gtk_widget_set_style, the latter is not recommended by GTK+ developers


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 17:34:00 +00:00
Stefan Csomor
fae763d088 adding mac to the memory crit sect
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 13:34:40 +00:00
Václav Slavík
1543645813 respect GTK+'s theme tooltip colour settings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 13:27:26 +00:00
Vadim Zeitlin
b529769179 fill up the gauge when Update(maximum) is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-14 10:46:12 +00:00
Julian Smart
3fd239fab9 Small WinCE symbol fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 16:11:40 +00:00
Václav Slavík
90b85bfcde fixed background rendering if GetThemeEnabled()=true with GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27767 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 13:09:16 +00:00
Václav Slavík
fc55f9616d fix wxPanel rendering in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-13 12:50:10 +00:00
Dimitri Schoolwerth
dabbc6a5a1 removed SetAutoLayout(true) calls when a corresponding SetSizer() was also called (the latter already calls SetAutoLayout(true) in case of a non-NULL window); usual cleanup: removing tabs and end of line whitespace, TRUE->true, FALSE->false, -1->wxID_ANY, Enable(false)->Disable(), ""->wxEmptyString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 23:44:08 +00:00
Robert Roebling
3d4875664f Applied new master define for CommandBar vs. PocketPC mixed bar.
This also works now under Handheld PC 2000.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 23:01:02 +00:00
Václav Slavík
2f35f36bbc fixed setting of initial font under wxGTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-12 12:36:26 +00:00
Włodzimierz Skiba
23c47bc1f3 Generic font dialog is still an option in wxMSW in non Univ mode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 19:24:59 +00:00
Robert Roebling
781a24e82f Compile fixes for HANDHELDPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 19:15:40 +00:00
Włodzimierz Skiba
132a592877 No warning with wxUSE_BUSYINFO turned off.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 19:02:44 +00:00
Włodzimierz Skiba
5a3b6b0782 wxUSE_FONTDLG is optional.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 17:19:17 +00:00
Włodzimierz Skiba
3511e02405 wxUSE_PROGRESSDLG is optional.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 14:45:09 +00:00
Stefan Csomor
f57d9215b8 adding compatibility mode fallback for custom window definition procs that don't allocated a content view at all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 14:06:50 +00:00
Włodzimierz Skiba
f80ea77b4a wxID_ANY, wxDefaultSize, wxDefaultPosition, wxNOT_FOUND, true, false, tabs replacements.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-11 13:14:23 +00:00
Václav Slavík
ebe4745154 fixed pasting of Unicode strings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 19:37:03 +00:00
Václav Slavík
810324c83b don't confuse wxDF_UNICODETEXT and wxDF_TEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 19:24:08 +00:00
Vadim Zeitlin
d305f9dfff open more keys in read only mode if we need to only read from them (fixes problems with accessing some registry values under XP)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 16:51:59 +00:00
Vadim Zeitlin
fbbc1982a3 fixed typo in wxFrame::SetStatusBar() (bug 970516)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 16:50:31 +00:00
Julian Smart
0099f3435b OR extra style with existing value or some implementations will
have problems (espec. wxGTK modal dialogs closing behaviour)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 13:28:31 +00:00
Vadim Zeitlin
6258e418a0 disable the first top level parent, not the topmost top level parent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 13:27:58 +00:00
Vadim Zeitlin
ffda4dacbd count the root item in wxTreeCtrl::GetCount()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 12:06:10 +00:00
Robin Dunn
719ee9c389 Take care of some focus issues with the AutoComp list box and also a
crash at exit when losing focus.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-06-10 00:09:27 +00:00