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
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
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
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
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
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
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
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
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
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
Julian Smart
9ceeecb94e
Frames have Ctrl+Q accelerator set automatically, as per the
...
PocketPC guidelines
Documented issues in manual under wxWinCE topic.
wxDEFAULT_DIALOG_STYLES rationalised so we can make use of
styles such as wxCLOSE_BOX in future (OK button on titlebar)
Added Set/GetAffirmativeId and DoOK so that titlebar OK button
can be customised
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32823 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 17:15:06 +00:00
Robin Dunn
30a2241127
If the parents are nothing but a panel and a frame then
...
MSWGetBgBrushForChild will still return NULL. Fallback to a solid
background colour in this case.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 17:09:00 +00:00
Vadim Zeitlin
905372991f
made GetDataDir() return the directory where the program is installed under MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32818 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 16:05:52 +00:00
Julian Smart
aaf803e981
Define Ctrl+Q accelerator on PocketPC for quitting the application, as
...
per guidelines
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 14:50:18 +00:00
George Tasker
f6a9f9ad28
Added support (barely tested) for MaxDB from MySQL
...
Added dbmsFutureX to the database enumerations to allow for adding support for new databases between releases of wxWidgets
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 14:41:12 +00:00
Dimitri Schoolwerth
720afa24b0
refactored scrollbar creation code to use CreateControl, MSWCreateControl, and MSWGetStyle: fixes default colour inheriting from parent and allows the scrollbar to be hidden initially (with 2-step creation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 13:31:11 +00:00
Włodzimierz Skiba
a376ab3039
Incomplete setup build fix (wxPalmOS).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 10:19:26 +00:00
David Elliott
7be8c821b7
Dammit, try it again this time actually removing it instead of adding it
...
again (forgot to give patch the -R).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 02:15:41 +00:00
David Elliott
b35bb76271
Reverted 1.32. This breaks my Tiger builds which is part of the reason
...
I reverted the last incarnation of this in the first place!!!
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 02:12:15 +00:00
Michael Wetherell
74fe675195
The DLL version of Watcom's C runtime doesn't have fileno, but the static
...
version does
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32804 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 01:24:40 +00:00
Robert Roebling
f893066ba1
Query for "default_border" not "default_outside_border" since
...
that is what is done in the gtk code.
Correct wrong pos in scrolled window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-13 18:57:10 +00:00
Julian Smart
b554cf6371
Added wxNB_FLAT for WinCE property sheet tabs
...
Titlebar OK button on PocketPC now looks for OK, Cancel, Close buttons.
Dialog size now takes into account SIP or menubar.
Panels more naturally white on PocketPC.
wxDIALOG_EX_CONTEXTHELP ignored on WinCE since it interferes
with correct titlebar style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-13 17:31:23 +00:00