Commit Graph

28492 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
9d9ad67384 removed const operator[]s (should fix 1162115)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 20:16:45 +00:00
David Elliott
0e6fa1d908 Fixed MW and XLC tests when using -C (cache) option with configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 17:47:33 +00:00
Włodzimierz Skiba
27b2dd53f6 Fixed strange situation when we had wxPathExists and wxDirExists with the same finctionality. Using wxPathExists instead wxFileExists (fixes bug #865628). Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 17:46:32 +00:00
David Elliott
fbb7dfffb0 Updated configure and aclocal.m4 for new 0.1.8 Bakefile on account of
the recent commit to autoconf_inc.m4 using Bakefile 0.1.8 (CVS).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 17:38:51 +00:00
Julian Smart
7acf6a921e Small fixes for compiling Cygwin (with --disable-sockets)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32860 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 12:43:15 +00:00
Julian Smart
1f867767ac Correct compilo for non-WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 09:54:20 +00:00
Julian Smart
e61ec95a3c stopwatch.h needed for wxGetLocalTimeMillis
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 09:10:35 +00:00
Jouk Jansen
eaa6f9ad2b Committing in .
setup.h_vms : updated VMS configuration
 msgdlg.cpp : corrected include file path

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/src/motif/msgdlg.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-17 08:05:04 +00:00
Robin Dunn
82479312aa Drop the "rc"
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 22:54:41 +00:00
Robin Dunn
8da2fe32f9 The --enable-rpath configure option doesn't work the same way it did
before.  Work around that by specifying the rpath option myself on the
setup.py command-line.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32854 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 22:53:59 +00:00
Julian Smart
a9102b3671 Implemented PocketPC menubar/toolbar as wxToolMenuBar derived
from wxToolBar, solving the problem of how normal toolbars
can co-exist with combined ones. Tidied up WinCE toolbar code.
Implemented wxToolBar as 'dummy' toolbar under Smartphone.
Dialogs now show an empty menubar to hide inactive one
underneath.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 17:51:41 +00:00
Włodzimierz Skiba
2ecf902bc8 Use defs.h (and automatically setup.h and chkconf.h) before first wxUSE_* check (bug #1164141).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 16:18:31 +00:00
Kevin Hock
3e275c2d1d Unlike the preferences item which should only be enabled if it exists and is enabled, the quit item should be enabled unless it both exists and is disabled, otherwise Quit will not be enabled unless the application specifically adds wxID_EXIT. This should fix David's bug but still retain the old functionality. [ modified previously committed patch 1160343 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 16:03:17 +00:00
Julian Smart
9f995cfd1c Not forgetting PalmOS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 10:20:20 +00:00
Julian Smart
c75d190a0a Added wxWINDOWS_POCKETPC, wxWINDOWS_SMARTPHONE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 10:18:13 +00:00
Julian Smart
ef826e2496 Removed checklistbox test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 09:09:01 +00:00
Kevin Hock
c2cb80c865 Allow using negative angles with DrawRotatedText. [ patch 1162771 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 05:31:13 +00:00
Kevin Hock
e9626c1b1f Quit application menu item needs special handling like the Preferences item. [ patch 1160343 ]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 05:16:55 +00:00
Kevin Hock
e400d27dcc Added comments explaining more about the changes in my last commit. Also, removed __DARWIN__ check for enabling CONNECTION events, always wait to enable them until after the connect() call.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32845 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-16 05:11:37 +00:00
Vadim Zeitlin
88783bc499 set wxUSE_DEBUGREPORT to 0 by default; fixed a couple of typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 23:20:47 +00:00
Julian Smart
280e0cc4fe UPdated notes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 21:51:14 +00:00
Julian Smart
5292c055a6 Chose different set of buttons for toolbar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 21:50:22 +00:00
Julian Smart
ac1f013c40 Fixed wxToolBar for WinCE so normal bitmaps can be used;
no longer uses standard buttons.
wxToolBar under Smartphone no longer tries to create
buttons since a toolbar makes no sense on this platform.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 21:48:20 +00:00
Julian Smart
445511b3cd Regenerated files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 21:22:24 +00:00
Julian Smart
9034c5906c WinCE doesn't have wxCheckListBox, and doesn't like wxRmDir
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 21:18:06 +00:00
Włodzimierz Skiba
53bc349182 SetLeft|RightMenu is supposed to be API for all smartphones. TODO comment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 21:10:18 +00:00
Julian Smart
3be8026d1d Fixed wxPropertySheetDialog for Smartphone
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 20:55:59 +00:00
Włodzimierz Skiba
c7bde65d2b More wxWidgets in poem demo.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 20:33:42 +00:00
Julian Smart
fc3bb38313 Fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 17:40:42 +00:00
Julian Smart
658070d130 No zero id
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 11:56:58 +00:00
Julian Smart
525bc4fc77 Don't start ids at zero
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-15 11:29:14 +00:00
Julian Smart
3c9287bbb4 Added wxPropertySheetDialog for implementing settings dialogs
in the appropriate way on small devices and desktop platforms
(abstracting is the only way to unify the API)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 22:40:44 +00:00
Vadim Zeitlin
d44444105b simplified code (removed 2 unnecessary tests) in CalcMin(), no real changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 22:26:56 +00:00
Julian Smart
23b1018f14 Improve standard button spacing on Windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 22:24:09 +00:00
Mattia Barbon
543ab300e7 Remove wrong clasing bracket.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 21:55:29 +00:00
Mattia Barbon
168da56b8f Blind fix for VC6 compilation when wxUSE_STL == 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 21:52:57 +00:00
Vadim Zeitlin
1e1ef90060 disable debug report for now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 20:40:24 +00:00
Włodzimierz Skiba
ba9bbf1388 'Dummy' warning fixes (might be used uninitialized).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 20:00:42 +00:00
Włodzimierz Skiba
6ca3a32256 Unicode fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32825 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 19:52:52 +00:00