Vadim Zeitlin
013984337a
restored const operator[]s for the compilers which need them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 15:27:14 +00:00
Julian Smart
afafd942a1
Added WXK_SPECIAL... keycodes for special hardware buttons
...
Made (Un)RegisterHotKey WinCE-aware.
Added wxEVT_HIBERNATE event.
Now fakes wxEVT_ACTIVATE_APP to be symmetrical with wxEVT_HIBERNATE.
Added wxTE_CAPITALIZE for CAPEDIT controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 14:26:57 +00:00
Vadim Zeitlin
87a39e3b55
compilation fix after last commit (missing semicolon added)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 14:07:22 +00:00
Ryan Norton
4153a503ba
Update for new event handler stuff
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32890 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 11:46:52 +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
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
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
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
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
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
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
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
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
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
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
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
George Tasker
2889677e28
Fixed unicode builds that were not on MSW
...
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@32815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 14:40:05 +00:00
Kevin Hock
4845680170
Removed unneeded semicolon after DECLARE_DYNAMIC_CLASS [ bug 1162938 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-14 14:38:48 +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
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
Michael Wetherell
78a94517c0
Temporary fix for Watcom link error 'fileno'
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-13 21:01:37 +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
Mattia Barbon
30bda36c48
Fixed compilation for GCC 3.4 when wxUSE_STL == 1.
...
Should be compatible with VC6.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-13 17:08:43 +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
Włodzimierz Skiba
0bb0e26c0c
Make Smartphone buildable with current flags.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-13 15:26:54 +00:00
Vadim Zeitlin
e62e17d735
changed wxDL_DEFAULT to be same as wxDL_NOW as this makes more sense for portable programs because wxDL_NOW is the only flag supported by Win32
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32783 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 20:37:53 +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
Vadim Zeitlin
d1dc690d80
readded back wxUSE_OLE and wxUSE_WXDIB
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-12 19:11:09 +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
eaac61c37a
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 18:56:05 +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
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
Włodzimierz Skiba
a14132e13a
Bring back help turned off as in previous WinCE setup.h. Perhaps it should be !__SMARTPHONE__.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 07:32:27 +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
1de1196ab3
gave default value of wxID_ANY to id parameter of wxStaticLine ctor as nobody uses anything else for it anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 02:13:30 +00:00
Vadim Zeitlin
e72ac08291
added wxSizerFlags::Left/Right()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 01:55:23 +00:00
Vadim Zeitlin
9fa2da4a72
correct relative paths for headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 01:15:47 +00:00
Vadim Zeitlin
36b6448cc3
added wxUSE_DEBUGREPORT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-11 00:19:17 +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
9600e53035
disable drag and drop
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:37:21 +00:00
Vadim Zeitlin
6f8a4ba11c
wxGetEnv() should return wxChar *, even if it's a macro and not a function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:23:33 +00:00