Commit Graph

15731 Commits

Author SHA1 Message Date
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
Michael Wetherell
e126517457 Add wxTempFileOutputStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-13 16:20:51 +00:00
Włodzimierz Skiba
01d2bf4def Correct sending of wxW event from wxChoice on MS Smartphone.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-13 15:32:30 +00:00
Robin Dunn
156ab66d5b "As is" means the current size (or position) not the best size.
Factored out AsIs size calculations to an inline so it can be
experimented with further if desired.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 20:57:14 +00:00
Vadim Zeitlin
cf72919c84 ensure that either RTLD_LAZY or RTLD_NOW is always used as calling dlopen() with flags == 0 fails withrecent glibc versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32784 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 20:43:58 +00:00
Robin Dunn
1e255b00ce Allow wxStaticText to have a custom fg without a custom bg
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32780 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 20:25:19 +00:00
David Elliott
a685a06c96 Fix compilation of generic message dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 19:35:44 +00:00
David Elliott
2e5cb6c2a3 Added trailing newline.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 19:24:19 +00:00
David Elliott
cadbf2a8e4 Added back trailing newline. Please be more careful when using dumb editors like Xcode's.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32777 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 19:20:52 +00:00
Gilles Depeyrot
220aea7b09 corrected typo in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 14:16:28 +00:00
Robert Roebling
384188277d Correct orientation of splitter sash again.
Query splitter sash size at runtime.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32771 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 12:24:10 +00:00
Robert Roebling
8fbc991227 Make tree control more GTK-is in the HTML help system.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 10:44:25 +00:00
Robert Roebling
e53a95bcb1 Applied patch for ArtProvider.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 10:33:00 +00:00
Robert Roebling
ab5ea030d8 There shouldn't be any need to draw the backgound
under a sash.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 10:30:47 +00:00
Robert Roebling
5b89b4dc32 GTK compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 21:03:10 +00:00
Robert Roebling
5ac8ce9e05 GTK+ 2.0 compilation.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 20:47:45 +00:00
Vadim Zeitlin
2b1d737b3e compilation fix for non PCH build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 18:59:31 +00:00
Włodzimierz Skiba
e5b5075810 Base for wxMessageDialog with common checks for style.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 15:34:42 +00:00
Włodzimierz Skiba
2cdd63c6b1 Warning and build fixes focused with Borland and Watcom.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 15:12:57 +00:00
Vadim Zeitlin
794fe8cd2f call wxOle[Un]Initialize() in wxClipboard ctor/dtor to ensure that when wxTheClipboard is destroyed at program shutdown and its Clear() method is called OLE is still initialized
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 11:49:44 +00:00
Vadim Zeitlin
360ae33f43 extracted code calling {Ole|Co}[Un]Initialize() to wxOle[Un]Initialize() functions in oleutils.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 11:47:13 +00:00
Vadim Zeitlin
61ad154c01 Unix compilation warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 11:19:03 +00:00
Jouk Jansen
a98ce49a41 Committing in .
OPenVMS updates

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/src/unix/stdpaths.cpp
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 09:33:29 +00:00
Stefan Csomor
8f39b6c48e border handling streamlined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 09:15:01 +00:00
Włodzimierz Skiba
beedefb940 Use empty check consistent with other parts.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 07:35:51 +00:00
Vadim Zeitlin
ce4fd7b577 added wxDebugReport
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 02:55:21 +00:00
Vadim Zeitlin
110a0fea88 corrected wxLogErrors() in Clear() and Flush()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 00:02:27 +00:00
Robert Roebling
19874feb47 Reenable dead keys under GTK2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 23:06:48 +00:00
Julian Smart
3534fc20dd When drawing a solid page background, don't use theme painting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 22:02:05 +00:00
Włodzimierz Skiba
17131ffd75 Disable wxID_EXIT on PalmOS with all consequences in content of menu (separators). Remove msw related code in wxPalmOS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:59:01 +00:00
Vadim Zeitlin
67acaf80e7 Unicode fix after last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:19:09 +00:00
Vadim Zeitlin
766763d092 use wxGetenv() instead of getenv() which doesn't exist under WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:14:04 +00:00
Robin Dunn
13304c1b9b Give the wxChoice an explicit width so the min size of the panel won't
be too large, preventing the splitter from resizing it back down to a
manageble size.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:07:15 +00:00
Vadim Zeitlin
9205cb3f26 unused param warning with wxUSE_OLE=0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 18:54:53 +00:00
Stefan Csomor
f2c3f2a8c9 cursor setting corrected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 15:47:43 +00:00