Commit Graph

7731 Commits

Author SHA1 Message Date
Julian Smart
e74d06a33b Fix for link error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 08:34:51 +00:00
David Elliott
73302af6dd Get rid of wxFontMapper in wxBase library.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 07:10:52 +00:00
Włodzimierz Skiba
7c11806499 winundef.h serves for other compilators too with STL turned on.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 17:51:57 +00:00
Vadim Zeitlin
f5a1953b34 added wxConvFileName which is a variable, not define as wxConvFile; added comments explaining what different wxConvXXXs are for
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33013 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 00:59:08 +00:00
Vadim Zeitlin
4c85ab7569 added wxRendererNative::DrawDropArrow (patch 1166596)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-24 00:22:04 +00:00
Vadim Zeitlin
de359565ae adjust the rectangle before calling DrawThemeBackground() (patch 1158282)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 20:59:00 +00:00
Vadim Zeitlin
8de6b9bbb8 added IsFalse() to simplify code doing HasOption(very-long-option-name) && !GetOptionInt(the-same-very-long-option-name) elsewhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 20:48:50 +00:00
Julian Smart
8c9f8f91cd Updated version to 2.5.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 13:05:13 +00:00
David Elliott
4508c2b01b GCC 4.0 (Apple 4059) is a little bit pickier than 3.3.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 05:51:15 +00:00
David Elliott
3a5910cbe9 Blind bug fix to bug reported by Angel Kry.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 05:12:12 +00:00
Vadim Zeitlin
8397cab4da clear m_aTypes array in Clear() as well (patch 1165866)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-23 00:17:49 +00:00
Julian Smart
05d344d2ef We need wxUSE_COMMON_DIALOGS for PPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32988 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-22 21:02:42 +00:00
Włodzimierz Skiba
660296aa90 Wrap <commdlgs.h> as <commctls.h>. Required makefiles rebuilded.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32984 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-22 19:39:54 +00:00
Julian Smart
7b4a652a8b DEBUGREPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-22 10:38:26 +00:00
Julian Smart
a33685f4b8 Don't use debug report under CE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-22 09:41:21 +00:00
Julian Smart
26ce51716a wxUSE_COMMON_DIALOGS must be 0 for eVC++ 3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-22 08:15:28 +00:00
Vadim Zeitlin
865bb3251e GTK+ callbacks must have C linkage (patch 1157384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 23:42:26 +00:00
Julian Smart
43499aa4a1 Adapt lib to eVC++ 3/4/PPC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 22:18:25 +00:00
Vadim Zeitlin
478cde3220 fixed Context_Current spelling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 19:27:32 +00:00
Vadim Zeitlin
0d97c09023 added orient parameter to wxMDIParentFrame::Tile()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 12:27:49 +00:00
Vadim Zeitlin
0978fcb3d6 set wxUSE_DEBUGREPORT to 1 by default again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 00:51:20 +00:00
Vadim Zeitlin
61639efb66 added qa library (currently consisting of wxDebugReport and related classes only); moved debugrpt.* files there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-21 00:11:06 +00:00
Vadim Zeitlin
ce76f779c6 added wxString ctor from std::string (inside #ifdef wxUSE_STD_STRING); removed pragma interface/implementation which force all inline functions to be defined in string.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-20 15:42:41 +00:00
Vadim Zeitlin
05c3f0fc73 oops, removed duplicate SetIcons[s]() added in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-20 15:10:30 +00:00
Vadim Zeitlin
d11e8786ed wxMDIChildFrame::Maximize() should have default value for its argument just as wxFrame does; override other functions which don't make sense for wxGTK implementation of MDI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-20 15:04:27 +00:00
Julian Smart
422d719d54 Fixes for WinCE toolbar
Don't disable wxFileConfig for WinCE
Don't disable common dialogs for WinCE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32930 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-20 11:54:26 +00:00
Vadim Zeitlin
a6f96659c3 compilation fix after last commit (missing semicolon added)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-20 11:01:08 +00:00
Mattia Barbon
26531700c7 Correct compilation conditions for wxURL::SetProxy.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32926 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 23:09:31 +00:00
Mattia Barbon
c27bcbd5a7 Use the correct WXDLLEXPORT declaration.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32925 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 23:07:02 +00:00
Robin Dunn
63e2147c8b Fixed bug #1163384. Moved the code that handles activating the cell
editors to a EVT_CHAR event handler.  This is done so the character
inserted into the editor will be the "cooked" char value (including
accented or composed keys) rather than the raw code provided by the
EVT_KEY_DOWN.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 22:33:17 +00:00
Julian Smart
ea9aa80e7c Fixed toolbar bitmap bug introduced by deriving wxToolMenuBar
from wxToolBar
Documented PPC installation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32913 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 19:51:51 +00:00
Vadim Zeitlin
6ca154fcc1 removed C++ comment added by last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 15:44:56 +00:00
Julian Smart
ec5f0c2412 Added wxDialog::GetToolBar for PocketPC
Added note about creating installers for PPC


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 12:06:56 +00:00
Robin Dunn
83c84d5908 Bumped subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-19 00:38:46 +00:00
Włodzimierz Skiba
682214d5c6 Fixed bug #1022383: 'several ComboBoxes appear selected'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-18 19:32:20 +00:00
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
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
Włodzimierz Skiba
311131d369 Apart smartphones use choicebook when notebook is not available (like testing smartphone layout using desktop build).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:22:46 +00:00
Vadim Zeitlin
2f5e2c177c define wxGetEnv() as macro, not inline function, for WinCE as otherwise extended.c compilation fails
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:20:04 +00:00
Vadim Zeitlin
cbffcf1117 define wxGetenv() for WinCE which doesn't have _tgetenv() to always return NULL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:14:53 +00:00
Vadim Zeitlin
5e7f00a137 moved WinCE-specific part into wx/msw/wince/chkconf.h; added more stuff to it (partly moved from wince/setup.h)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:11:57 +00:00
Vadim Zeitlin
4652511f90 disable wxUSE_EXCEPTIONS when compiling with VC++ but without /GX (a.k.a. /EHsc) switch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 19:06:26 +00:00
Vadim Zeitlin
5e9ccdeb95 generate (common part of) include/wx/msw/wince/setup.h automatically, as for MSW, Mac and Unix setup.h versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-10 18:26:29 +00:00
Ryan Norton
b14ba1f117 cgimagecreate from wxbitmap crashes 10.2 - turn off. Put in right click handler to avoid double-creation of the menus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 18:54:52 +00:00
Dimitri Schoolwerth
ed6d701058 minor cleanup (doc typos fixed, removed tabs)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 16:37:36 +00:00
Włodzimierz Skiba
d94c09cdc6 Missing casts to event handling functions.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 16:29:59 +00:00
Vadim Zeitlin
ef0aea5ad4 made wxStaticCast more backwards compatible by allowing it to cast away const as well (in release build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 15:23:49 +00:00
Włodzimierz Skiba
5e10aed554 Missing flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-09 07:29:27 +00:00
Robert Roebling
917ae499da Applied DnD patch, adding a field for setting a default action.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 22:50:46 +00:00
Włodzimierz Skiba
8bc3ec1ff5 Casting fix for events. Needs check by ARM eVC4 users.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 20:53:16 +00:00
Vadim Zeitlin
6a168c177c return name and extension by const ref, not by value, to prevent bugs as the one just fixed by patch 1159289 from compiling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 20:16:44 +00:00
Vadim Zeitlin
73fbb031f5 use static_cast<> for wxStaticCast; updated comment in front of wxDynamicCast()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32676 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 13:09:25 +00:00
Vadim Zeitlin
330be53493 removed wx_dynamic_cast(), it can't be implemented properly without real dynamic_cast<>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 11:17:01 +00:00
Vadim Zeitlin
ed6dd18ae8 set wxDIALOG_UNIT_COMPATIBILITY to 0 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 10:56:46 +00:00
Włodzimierz Skiba
7d0d80bd1c Allow forward declaration of wxSlider in wxMSW (bug 1157614). Remove unused header from wxSliderMSW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 10:44:38 +00:00
Włodzimierz Skiba
a28b4703b5 Missing flags.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 10:04:24 +00:00
Włodzimierz Skiba
395b5a7626 XTI has own wxObjectEventFunction and has to follow event.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 09:51:20 +00:00
Robin Dunn
116627da19 Allow wxBufferedDC to be constructed with just a wxDC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 00:38:53 +00:00
Vadim Zeitlin
fe6cf12844 init member variables properly (patch 1156088)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 00:29:56 +00:00
Vadim Zeitlin
d86ea20ff4 added wxUSE_STDPATHS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-08 00:08:54 +00:00
Vadim Zeitlin
58385af016 fix top margin for static box sizer when wxDIALOG_UNIT_COMPATIBILITY == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 23:41:07 +00:00
Vadim Zeitlin
5dd070c25b extracted platform-specific code to determine static box borders to wxStaticBox::GetBordersForSizer()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 23:37:15 +00:00
Vadim Zeitlin
69dada2e7a added file with WinCE-specific configuration options checks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 22:42:59 +00:00
Vadim Zeitlin
07158944d8 added wxUSE_STDPATHS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 22:37:58 +00:00
Vadim Zeitlin
831c288955 compilation fix for VC6 (patch 1158433)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 22:12:46 +00:00
Julian Smart
5bd78bbc2b Added wxFRAME_EX_METAL, wxDIALOG_EX_METAL for Mac metal appearance (saves #ifdefing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 21:50:11 +00:00
Julian Smart
0f36a8d7bc Removed very very obsolete flags from 1.x
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 20:44:06 +00:00
Vadim Zeitlin
d5d5101391 fix to avoid eVC crashes: restored wxObjectEventFunction declaration so that it defines a wxObject method, not wxEvtHandler one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 19:22:00 +00:00
Włodzimierz Skiba
86a2f7226f Inform settings about wxWindow class existence.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 19:10:42 +00:00
Robert Roebling
9b0b5ba76e Applied GetSystemMetric patch to suppurt GTK and multihead
display.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 17:38:31 +00:00
Vadim Zeitlin
4d7c537dfa added wxUSE_DATEPICKCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-07 02:01:45 +00:00
Vadim Zeitlin
5f8ba10e86 replaced C++ comment with a C one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-06 12:16:24 +00:00
Michael Wetherell
9802983f15 Fix for problem with wxGetFileKind on WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 23:24:17 +00:00
Mattia Barbon
f455ffb2da Use the correct WXDLLIMPEXT declaration for
wxStringListBase.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-05 16:06:02 +00:00
Włodzimierz Skiba
29b53ef977 Removed ambiguity between deprecated and new constructor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 19:27:02 +00:00
Robert Roebling
b737ad10de Applied John L's patches for curson scaling, image resizing
without scaling and the art provider resize bitmap patch.
    I'll look into adapting the generic file dialog to it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 18:33:57 +00:00
Robert Roebling
0b40f3d80b Changed wxFileName::SetExt() as per the discussion, added
ClearExt() and SetEmptyExt() and documented it.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32597 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-04 17:31:18 +00:00
Robert Roebling
4d4edca33b Adapt SetExt() to new availability of m_hasExt. I also
added SetNoExt() as there needs to be a way to remove
   the extension. One wonders what SetExt( "" ) is supposed
   to do. Maybe adding SetEmptyExt() would be better and
   backwards compatible.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 19:45:24 +00:00
Vadim Zeitlin
9f8d3f61a9 added wx_dynamic_cast()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 10:53:55 +00:00
Julian Smart
265a3864bb Added wxBUFFER_VIRTUAL_AREA, wxBUFFER_CLIENT_AREA to buffered DC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-03 06:56:15 +00:00
Robin Dunn
3dd67a18b7 Add GetToolTip accessor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 18:32:52 +00:00
Stefan Csomor
2d17efa94e unicode character events
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 17:45:49 +00:00
Włodzimierz Skiba
e5ecf1fc24 In MSWUniv wxWindow and wxWindowMSW are different classes so we can't access some of protected members (catched only by Borland). Therefore some of the flags related to background needs reading API.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 10:57:08 +00:00
Julian Smart
96991c58ed Fixed wxBufferedPaintDC for scrolled windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-02 08:16:48 +00:00
Mattia Barbon
899c6fad26 Revert my last commit, GetClientAreaOrigin was already implemented
in common code by ABX.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 20:18:09 +00:00
Vadim Zeitlin
12e50065b4 don't use WXDLLEXPORT with nested template classes: this doesn't work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 17:49:27 +00:00
Stefan Csomor
30e77b5c9f have CGImage Support in all OSX builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 05:31:37 +00:00
Vadim Zeitlin
cd30330fc6 added accessor function to hide __VISAGECPP__ ugliness and avoid having #ifdef's for it every other line
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-01 01:21:04 +00:00
Robert Roebling
8017ee9be3 Implemented wxRadioBox using a GtkTable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 20:31:31 +00:00
Ryan Norton
4860d40db4 rename wxURI::GetUser to wxURI::GetUserInfo and add wxURI::GetUser and wxURI::GetPassword
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 20:01:44 +00:00
Włodzimierz Skiba
9aaf11927c XRC for wxListbook [patch 1152306] and wxChoicebook. Regenerated makefiles.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 18:46:49 +00:00
Vadim Zeitlin
1a6255e664 trying to fix dmc warning about potential overload ambiguity
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 17:23:19 +00:00
Vadim Zeitlin
27e090842d return const ref to label from GetLabel() and other accessors instead of copying it, this fixes 1153178
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 17:20:12 +00:00
Chris Elliott
8318f30f10 fix missing defines with DMC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 16:13:59 +00:00
Julian Smart
cad61c3e8f Added XPM ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 11:00:07 +00:00
Dimitri Schoolwerth
e8144c3153 removed trailing comma from enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 02:10:54 +00:00
Robert Roebling
aa96f01c02 Add PrivData() field to wxPrintData since MSW's printer
sometimes seem to save data in an extra field. The
    original author of the patch chose to save it in char*
    so I kept that, although void* would probably be correct.
    The patch is against 2.4.2 and the code has been reshuffled
    since then so that the patch had to be redone entirely.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 01:51:59 +00:00
Vadim Zeitlin
74124ea961 show tooltips for the text control part of the spin control as well (bug 735044)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 01:23:03 +00:00
Vadim Zeitlin
1306e7d6ec made Add() public so that it could be called for addition HWNDs making part of the same logical wxWindow from other classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32441 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 01:22:35 +00:00
Vadim Zeitlin
dfecbee579 support filenames with empty extension (foo.) (bug 1078200)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32436 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-28 00:18:37 +00:00
Michael Wetherell
e6bdaaad1d Move wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW out of the common section in
setup_inc.h to tackle the problem raised by patch 1152046.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32430 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 20:31:24 +00:00
Vadim Zeitlin
ca9fb418d2 added default ctor and fixed copying of wxFileData (patch 1149384)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32421 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 15:54:25 +00:00
Vadim Zeitlin
c46b98daaf refresh bitmap when it's label changes, this is necessary for wxMSW and maybe wxGTK and shouldn't hurt much for other ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32419 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 15:43:58 +00:00
Vadim Zeitlin
ed1288c1d5 better compatibility with old wxList in wxUSE_STL==1 mode (patch 1075432)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32418 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 15:40:39 +00:00
Vadim Zeitlin
a4efa72179 added support for saving grey and grey-red PNG images (patch 985447)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 15:24:50 +00:00
Vadim Zeitlin
61f3feadce fix for BCC compilation (see patch 1101702)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 14:43:31 +00:00
Stefan Csomor
285b5ce090 cleanup, adding common methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32402 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 11:41:01 +00:00
Julian Smart
f45fac95d6 Fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 10:54:09 +00:00
Julian Smart
49bf4e3e68 Added GetBitmap, GetIcon to wxImageList
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32400 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 10:36:58 +00:00
Ryan Norton
9075301655 fix compilation - Stefan see my last commit bundle :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 10:02:20 +00:00
Stefan Csomor
9b89f11ad8 reintroducing non-composited functionality due to DataBrowser Bugs under 10.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-27 08:54:16 +00:00
Robert Roebling
f9a2692dbe Commited fix for HP compiler in raw bitmap code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 17:26:24 +00:00
Mattia Barbon
53ce655c5b Add implementation for pure virtual method.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 15:51:46 +00:00
Michael Wetherell
18a1516c4b Move wxGetOSFHandle to include/wx/msw/private.h since it needs HANDLE anyway
and make it a macro. Make the 'default' return value for wxGetFileKind
wxFILE_KIND_DISK and add a comment explaining what it's for.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 15:31:42 +00:00
Ryan Norton
6cbe14ba98 guess it wasn't
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 11:30:55 +00:00
Ryan Norton
a4567ae7fe I'm assuming this was meant to be included
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 10:23:39 +00:00
Ryan Norton
dccd9b0cca setup.h regeration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 10:19:54 +00:00
Ryan Norton
fcfc65d38f use_gstreamer fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 10:09:34 +00:00
Ryan Norton
af79064d31 change superflous elif to else
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 10:05:56 +00:00
Ryan Norton
a933a5449e fix for nonsupporting carbon builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-26 10:05:05 +00:00
Julian Smart
1fe7a7c744 Added wxIMAGE_OPTION_QUALITY
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-25 17:24:37 +00:00
Włodzimierz Skiba
337dc4c1f6 Use of date picker control flag must be somehow defined.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-25 11:07:00 +00:00
Włodzimierz Skiba
a809b45d59 Completed sync of BASE_CMN_SRC between PalmOS and bakefiles. Missing features (stdpaths) added and buildable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-25 09:44:49 +00:00
Robin Dunn
2da0c077ce bumped subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-24 18:41:51 +00:00
Włodzimierz Skiba
683510536f Next step on bringing PalmOS build to the same filelist as in bakefiles: adjustements in file related wxAPI.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-24 18:01:42 +00:00
Włodzimierz Skiba
5c7022599b Provide to Borland the same fix as for Cygwin due to historic placement of Borland between Unix compilers. Needs further fix with move of Borland into MSW section in filefn.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-24 15:18:36 +00:00
Vadim Zeitlin
ed62f740a1 added missing virtual dtors to base classes (patch 1150945)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-24 14:33:32 +00:00
Stefan Csomor
89a66f111b forwarding position changed events to peer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-24 14:06:15 +00:00
Włodzimierz Skiba
f1b1ecf020 PalmOS headers have ssize_t with no sign of it so we have to assume they are always there. Missed semicolon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-24 10:43:27 +00:00
Julian Smart
6aa0103384 Restored mouse sensitivity for static box and static bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32338 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-24 08:26:50 +00:00
Włodzimierz Skiba
17fb35240e More support in wxRadioBox for PalmOS. Refreshing fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 20:46:32 +00:00
Włodzimierz Skiba
6cb0bfdf9d Linup API of wxRadioBox::Show on all ports. Move wxRadioBox::IsValid from wxUniversal to base class (+ GTK which do not use base class) and use it where applicable. Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 17:04:16 +00:00
Vadim Zeitlin
a97cd79840 don't redefine NOMINMAX if already defined (mingw32 does this apparently)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 16:54:16 +00:00
Włodzimierz Skiba
fa50c0e3bf Linup API of wxRadioBox::Show on all ports. Move wxRadioBox::IsValid from wxUniversal to base class (+ GTK which do not use base class) and use it where applicable. Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 16:52:31 +00:00
Vadim Zeitlin
622c514586 removed checks for compilers supporting wxUSE_ON_FATAL_EXCEPTION, it's in wx/chkconf.h now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 16:46:01 +00:00
Włodzimierz Skiba
789f679516 Linup API of wxRadioBox::Show on all ports. Move wxRadioBox::IsValid from wxUniversal to base class (+ GTK which do not use base class) and use it where applicable. Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 16:39:25 +00:00
Stefan Csomor
b905d6cc08 adding a peer pointing back to wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 15:46:03 +00:00
Stefan Csomor
e2f865d857 moving all border invalidations into one area, also opening peer access for all
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-23 15:39:15 +00:00
Włodzimierz Skiba
11f4a34413 More wxAPI for radiobox of PalmOS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-22 07:22:11 +00:00
Włodzimierz Skiba
1a87edf286 Consistent wxWindow::Enable with wxRadioBox::Enable for control and its items. wxRadioBox of PalmOS. Little source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 21:02:41 +00:00
Stefan Csomor
6d2c830a3c moving native format generation into bitmap ref data because of the owner semantics (we don't know when to release a PicHandle otherwise
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 13:42:35 +00:00
Vadim Zeitlin
baec3aee00 don't define min/max macros in windows.h (closes 1052256)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32279 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 02:06:21 +00:00
Vadim Zeitlin
a0573e8eb0 removed ambiguity from wxGLCanvas ctors (bug 1102544)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-21 01:52:23 +00:00
Vadim Zeitlin
1bbcb0d516 force wxUSE_THREADS/EXCEPTIONS to 0 if wxNO_THREADS/EXCEPTIONS is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 19:15:43 +00:00
Vadim Zeitlin
b39c4812ca mention wxNO_THREADS/EXCEPTIONS in comment before wxUSE_THREADS/EXCEPTIONs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 19:13:23 +00:00
David Elliott
248eaddf7a Don't automatically define WX_PRECOMP when building using configure.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 02:19:52 +00:00
Vadim Zeitlin
afad4a880e added OnSysColourChanged() (modified patch 1103439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32227 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-20 00:12:01 +00:00
Vadim Zeitlin
298ca00cdc added wxNavigationEvent::FromTab flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32215 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 21:59:21 +00:00
Vadim Zeitlin
828f093601 added InitAlpha() (replaces patch 991168)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32213 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 21:51:37 +00:00
Vadim Zeitlin
8008807eb1 we don't need to use solid colour for background drawing when we're inside notebook any longer, so no need to override MSWGetBgBrushForSelf()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32209 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 20:50:59 +00:00
Vadim Zeitlin
07c1932792 added MSWPrintChild() for drawing child background (replaces patch 1108389)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32208 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 20:49:50 +00:00
Vadim Zeitlin
4bd6ae0fad extracted check for wxListCtrl in WM_PRINT handler to wxListCtrl itself, base class shouldn't have to worry about its derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 19:24:46 +00:00
Vadim Zeitlin
26f60eb6a4 don't steal EVT_RIGHT_UP in rich edit controls for context menu (patch 1143823)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-02-19 17:27:30 +00:00