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
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