Julian Smart
a9d13e1564
Added destructor to fix crash on Mac due to focus event causing
...
text control to be accessed while being deleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 11:07:30 +00:00
Julian Smart
18fefee7d1
Applied patch [ 1178610 ] datectlg.cpp: wxDropdownButton + bug fixes
...
Jaakko Salli
This patch modifies datectlg.cpp's wxDropdownButton in
such manner that it should be much easier to convert it
into a generic drop button class. Also, it is now more
universal in the respect that it should work on
platforms other than wxMSW and wxGTK (wxBitmapButton
being prime prerequisite).
Plus there are some bug fixes for wxDatePickerCtrlGeneric.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 10:32:36 +00:00
Julian Smart
e0608d9fc2
SQLINTEGER typedef
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 10:03:30 +00:00
Julian Smart
c497d0b212
Applied patch [ 1183157 ] Compilation with GCC 4.0
...
by Michal Cihar. Also added typedef for SQLINTEGER in built-in
iODBC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33648 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 09:45:32 +00:00
Robin Dunn
41a499cd92
Add several "Raw" functions for setting/getting text from the document
...
buffer. They behave similarly to the same methods without the "Raw" in
the name, except they don't use wxStrings. This can save some
conversions to/from unicode and utf-8 in a Unicode build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 04:53:01 +00:00
Robin Dunn
22faef6ced
Allow wxCharBuffer to be constructed without parameters (making a zero
...
length string by default) so it can be used in SWIG typemaps.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-16 04:08:35 +00:00
Robin Dunn
a48cb41599
Patch #1183952 , Create to return bool
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 19:41:32 +00:00
Robin Dunn
414f2513fc
For wxMSW capture and release the mouse as the cursor moves out or
...
back in to the transient popup window to enable the transient to be
automatically dismissed when a click happens outside of it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-15 03:04:30 +00:00
Włodzimierz Skiba
e755eb67b6
Correction in comment in closing #endif.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-14 15:11:20 +00:00
Vadim Zeitlin
338d1deba9
made wxGridCellAttr dtor protected instead of private
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 23:55:52 +00:00
Michael Wetherell
845905d588
Move G_FILENAME_ENCODING to wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 20:05:57 +00:00
Julian Smart
5fae57de3a
wxBestHelpController now used as default on Windows
...
Change log updates
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 18:52:43 +00:00
Włodzimierz Skiba
15cdc34149
wxStreamToTextRedirector fixes, define wxHAS_TEXT_WINDOW_STREAM.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 17:51:16 +00:00
Kevin Ollivier
b4fd164d9c
Adding accessor methods for URL and Title, and another revision of the window sizing hack. Tested this one with wxWidgets sample, a notebook/splitter sample, and Documancer, a wxPython app, all with correct results.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 05:12:41 +00:00
Stefan Csomor
85f7030424
fixing compilo on carbon cfm with CW 9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-13 05:07:39 +00:00
Włodzimierz Skiba
16549a8723
std streams usage build fix under MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 21:06:03 +00:00
Włodzimierz Skiba
72093cd889
WinCE build fix (missing style).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 08:13:21 +00:00
Włodzimierz Skiba
a5de8d419f
Misplaced #endif (WinCE build fix).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 08:08:36 +00:00
Robin Dunn
276612f7e4
checked in just John's patch, will keep working my fixes...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 05:18:20 +00:00
Robin Dunn
68406a9b43
GRR! Reverting last change. I broke some things that I thought I had tested before...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 04:53:26 +00:00
Robin Dunn
82ceade76a
Fixes for wxPopupTransientWindow for wxMSW. Includes Patch #1181190 ,
...
and also fixes for automatically dismissing the popup whenever the
mouse is clicked outside of the popup window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-12 04:28:40 +00:00
Michael Wetherell
fe47da7b04
A better workaround for the link problem with mingw versions before 3.4.2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 23:26:44 +00:00
Michael Wetherell
eedf3bcbb3
Add a comment about covariant returns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 23:24:30 +00:00
Julian Smart
4818141bb2
Changed version number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 15:50:13 +00:00
Vadim Zeitlin
1a784dfc80
after latest changes background of radio buttons _not_ inside the notebook wasn't redrawn at all, fixed this
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-11 14:41:36 +00:00
Vadim Zeitlin
fdc1aa5209
modified AddFile() to copy file to the debug report directory if its path is absolute
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 22:37:43 +00:00
Vadim Zeitlin
2bae4332e7
extended wxWindow::MSWGetBgBrush() and wxControl::MSWControlColor() to work for arbitrary HWNDs and not just wxWindows: this allows us to draw proper background for slider labels and other subcontrols
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 21:55:12 +00:00
Vadim Zeitlin
b808efdb88
mark slider as being transparent, otherwise it has ugly solid grey background when placed on a themed notebook
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33485 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 18:33:03 +00:00
Kevin Hock
dc9abdf656
th4ese -> these in comment
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 18:05:48 +00:00
Vadim Zeitlin
916f434d88
undid flags values change, it's not as backwards compatible as I thought
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 17:51:36 +00:00
Vadim Zeitlin
86745a19d0
moved wxSL_XXX styles to wx/slider.h; made wxSL_LEFT/RIGHT == wxSL_TOP/BOTTOM | wxSL_VERTICAL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 17:06:49 +00:00
Vadim Zeitlin
c3732409ac
simplifications and corrections to background drawing:
...
1. removed ApplyParentThemeBackground() not used any longer
2. removed ProvidesBackground() which is synonymous with
!HasTransparentBackground()
3. removed a whole bunch of unused MSWXXX() methods
4. moved MSWControlColor() from wxWindow up to wxControl
results:
1. the gradient is still shown properly for static/radio boxes in notebooks
2. correct background colour is used for the static boxes
3. code is shorter and better commented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 15:23:08 +00:00
Mattia Barbon
47561b0dc5
Check for wxUSE_STD_STRING with #if not with #ifdef,
...
because it is always defined.
Do not unconditionally #define HAVE_STD_STRING_COMPARE if
it is not defined, because this nullifies the configure test.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 14:57:09 +00:00
Mattia Barbon
fa6416df7f
Correct harmless typos.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33471 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 14:49:02 +00:00
Vadim Zeitlin
8704b36653
added wxCopyRectToRECT()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 11:31:55 +00:00
Vadim Zeitlin
a1372ae2fa
added HDCClipper() class which automatically unselects clipping region in its dtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 11:30:37 +00:00
Ryan Norton
04d8f1ba40
Don't include sys/socket.h on cygwin in windows mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 06:44:50 +00:00
Ryan Norton
8c02a70d4f
...and msw only of course
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 06:37:19 +00:00
Ryan Norton
1446dfdbfe
cygwin only
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 06:35:53 +00:00
Ryan Norton
9e07d39919
Fixes & Hacks to make sockets compile on CYGWIN with windows enabled
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 06:33:26 +00:00
Vadim Zeitlin
1a3c509512
added WM_PRINTCLIENT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-10 00:19:11 +00:00
Vadim Zeitlin
e18c3e0207
added AddText() function (trivial wrapper around AddFile()), use it in debug rpt preview
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 16:04:22 +00:00
Vadim Zeitlin
7227f7b857
added qa library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-09 14:56:14 +00:00
Michael Wetherell
43e8916ff3
Documentation fixes, patch 1179223 by Andreas Mohr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33428 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 14:34:30 +00:00
Ryan Norton
c57e3bd53e
Version of [ 1177956 ] fix for wxString::operator=(wxChar *) for STL builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 14:06:25 +00:00
Robin Dunn
94e3a8938b
bumped subrelease number
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-08 03:06:52 +00:00
Robert Roebling
a5040b80be
Implemented text wrapping for GTK (1.2 and 2.X).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33420 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 22:52:32 +00:00
Kevin Hock
2c7219fea0
Declare CFRunLoopSourceRef rather than including the CFRunLoop.h header.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 14:36:24 +00:00
Włodzimierz Skiba
5a8231ef46
VC++ 1.5 no more supported.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33408 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 12:36:39 +00:00
David Webster
6b82ff6f9f
New classes for OS/2
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 04:04:37 +00:00
David Webster
e8344916f8
Add OS/2 to supported instances
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-07 04:01:45 +00:00
Julian Smart
c9ab63f44f
As yet unsuccessful attempt to set the focus to the choice control.
...
Also removed unnecessary border style setting code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 21:13:28 +00:00
Michael Wetherell
08335000c5
Use wxFileSystem for left hand side. Patches 1169934 and 1173497 from Stas
...
Sergeev and Artur Kornacki.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33392 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 20:35:54 +00:00
Michael Wetherell
d13a08ab40
Add m_allowSeeking for updated filesystem handler to use. Also switch to
...
using 'wx__' prefix for private symbols, and add some comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 20:32:28 +00:00
Vadim Zeitlin
5c7c67fdec
fixed wx/motif/chkconf.h include
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33386 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 17:56:45 +00:00
Ryan Norton
19ab5b3a6a
Get rid of inline for methods not implemented in the header - some compilers choke on it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 11:09:23 +00:00
Vadim Zeitlin
ed4eede6c2
define WM_CONTEXTMENU if the standard headers don't
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 09:18:42 +00:00
Vadim Zeitlin
16a0ccd009
use LVS_EX_LABELTIP by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-06 00:32:02 +00:00
Vadim Zeitlin
fbd8ac5236
don't let WM_RBUTTONDOWN reach def window proc as it would enter a local modal message loop waiting for WM_RBUTTONUO and hose our event generation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 22:59:22 +00:00
Vadim Zeitlin
dd932cbe1c
added GetVisibleBegin/End() to complement/replace GetFirst/LastVisibleLine() and use them in the code to fix problems when the control is empty and GetLastVisibleLine() returns (size_t)-1 (closes bug 1176561)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 22:43:41 +00:00
Vadim Zeitlin
b45f79ecbf
give an error if wxMotif is built in Unicode mode (to prevent bug reports like 1177193); moved wxMotif-specific checks in its own wx/motif/chkconf.h; moved wxMac stuff remaining in wx/chkconf.h to wx/mac/chkconf.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 20:54:56 +00:00
Robert Roebling
668d55c925
Added switch and define for wxUSE_STD_STRING
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33352 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 20:16:58 +00:00
Włodzimierz Skiba
da865fdd32
Deprecate wxPathExists, make wxDirExists used everywhere, minor source cleaning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33350 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 16:10:48 +00:00
Włodzimierz Skiba
339360262a
Warning fix for wxUSE_LOG off.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 15:11:44 +00:00
Włodzimierz Skiba
39ae1f1392
Fix the warning about code sensitive to packing (VisualC).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-05 07:09:42 +00:00
Dimitri Schoolwerth
6d8edd32b5
fixed cases where __WXMAC_CLASSIC__, __WXMAC_CARBON__, and __WXMAC_OSX__ were being treated as 0/1 value instead of (un)defined symbol
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-04 10:34:56 +00:00
Stefan Neis
b03896f1af
Made data variable used in inline function non-static to avoid compiler warning.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 20:22:21 +00:00
Stefan Csomor
823c4e96f9
always forcing a relayout when position changes, making mlte a system option
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 16:38:14 +00:00
Julian Smart
27e7e85984
Cross-hair cursor appears as an I-beam on WinXP for some reason;
...
use cursor file instead.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 11:36:31 +00:00
Julian Smart
6def7a17b0
Not all implementations of wxMDIChildFrame derive from wxFrame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 09:24:04 +00:00
Ryan Norton
4cc52142b8
Update wxURI for RFC 3986
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-03 03:48:08 +00:00
Vadim Zeitlin
96461cc29d
added wxMemoryInputStream(wxMemoryOutputStream&) ctor (patch 1170635)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 22:37:58 +00:00
Václav Slavík
5a0348c449
added MDI support to XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33291 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 22:22:55 +00:00
Julian Smart
30dfe2ff14
No resize border on WinCE by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:40:59 +00:00
Julian Smart
259a6e3806
No resize border on WinCE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:39:53 +00:00
Vadim Zeitlin
21dc4be5d2
added wxImage::IsTransparent(x, y)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:30:22 +00:00
Vadim Zeitlin
5644ac4640
added XYToIndex() to avoid duplicating the checks for valid coordinates in many different places
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 21:16:04 +00:00
Julian Smart
9f76970889
Default border for a static box is wxBORDER_NONE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:30:04 +00:00
Julian Smart
0bbd4f0ff4
The wxDEFAULT_CONTROL_BORDER symbol can be used to specify a sunken
...
border on some platforms, simple border on e.g. WinCE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 17:23:08 +00:00
Robin Dunn
4013de1217
Add static_data flag to SetData and SetAlpha so Python buffer objects
...
can be used in wxPython without double free()'s.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 02:04:52 +00:00
Vadim Zeitlin
3b6e5fb3f5
fixes to static box borders calculations and significant code cleanup (finalizes patch 1166587)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:17:51 +00:00
Vadim Zeitlin
a27cbf44fc
added AutoHRGN class; corrected GetHbrush[Of]() macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:15:47 +00:00
Vadim Zeitlin
cf000528d0
added wxSOLID default value for FindOrCreateBrush()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 01:00:09 +00:00
Vadim Zeitlin
1f32f58565
removed superfluous semicolons
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33244 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-02 00:34:04 +00:00
Stefan Csomor
dc7ccb9c5d
moving wxMac to new printing architecture
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 16:36:36 +00:00
Włodzimierz Skiba
1c04f04b46
Do not break checking whether dir exists for given path.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 14:46:16 +00:00
Stefan Csomor
78df41df75
adding protected inquiry function whether a child window belongs to the 'client' or the 'non-client' area, examples for the latter are toolbar, scrollbars etc
...
adding another cached clip rect for the real client area
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-04-01 07:05:52 +00:00
Julian Smart
f8bc53eb53
Applied patch 1173802: Reimplementation of GtkFileChooser wxFileDialog
...
by Mart Raudsepp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 21:20:58 +00:00
Julian Smart
c06dde42fe
Applied patch [ 1174270 ] small fixes to wxGenericDirCtrl
...
Stas Sergeev:
1. CollapseDir() was forgetting to... hrmm, to collapse
the dir...
It was only removing the child elements, leaving the dir
expanded. Missing code added.
2. ReCreateTree(), which, according to the comments, must
collapse and re-open the tree, was not re-opening it.
Fixed.
3. For those who used the bogus ReCreateTree() behaviour
to collapse the tree, I added CollapseTree(). This does
visually what the ReCreateTree() wrongly did before the
patch.
4. Documentation is updated accordingly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 19:04:03 +00:00
Stefan Csomor
a45ff29798
calculating vis regions as rects (faster for Quartz) and caching the results for all implementations
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 17:21:43 +00:00
Julian Smart
2f059e30a1
Fixed MSWClipBoxRegion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 15:19:14 +00:00
Stefan Csomor
8adc196b0e
content clipping becomes a runtime attribute
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33210 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-31 05:12:46 +00:00
Robert Roebling
7af29d2ff6
Compilo.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 16:47:48 +00:00
Robert Roebling
5576edf8d8
Forgot to commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 16:29:40 +00:00
Julian Smart
4b524c27cc
Applied patch [ 1161769 ] reference to temp object in carbon/palette.cpp
...
Potentially unsafe (and obsolete) constructor removed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33181 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 15:47:29 +00:00
Julian Smart
eba99da4c0
Applied patch [ 1166587 ] [wxMSW] Removes all flicker from wxStaticBox
...
By Jamie Gadd
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 15:30:06 +00:00
Julian Smart
d51305e81e
Sorry, should be a __UNIX__ test
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 08:07:51 +00:00
Julian Smart
c3c1a9a9cc
Attempted compile fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 08:00:45 +00:00
Stefan Csomor
9234615181
unifying redraw and scrolling calls between compositing and non-compositing modes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 05:42:49 +00:00
Stefan Csomor
ca13514849
using separate imaglist on mac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-30 04:24:20 +00:00
Robert Roebling
66bf009984
Made wxConvBrokenFileNames public.
...
Made use of it from GTK+'s wxApp.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 23:15:54 +00:00
Włodzimierz Skiba
00049da82a
Missing DMC value after recent changes in tbar95.cpp.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 17:24:02 +00:00
Julian Smart
cf0cf17b00
Compile with builtin ODBC in GTK+ ANSI mode
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 14:32:07 +00:00
Stefan Csomor
32c19f25fc
we need our own imaglist implementation because in wxmac wxIcon does not inherit from wxBitmap anymore
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 11:39:46 +00:00
Kevin Hock
ec8565f3c5
Added __WXMAC_OSX__ guards around the CFRunLoop calls, CFRunLoop not available on CFM [ followup on Patch 1160346 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-29 04:08:51 +00:00
Kevin Hock
413baa20a1
Separate includes needed for Darwin and classic [ followup on Patch 1160346 ]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 23:00:05 +00:00
Kevin Hock
95e568ee3e
Create RunLoop that can be used to process pending events so that events will still be processed while the user is using a menu or scrollbar [ Patch 1160346 ] - this really needs to be in 2.5.5 so it can be widely tested before 2.6.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 18:47:46 +00:00
Vadim Zeitlin
f6840be66e
added GetHimagelist()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 12:22:45 +00:00
Václav Slavík
0c00c86faf
fixed dialog units in toplevel windows (bug #1170234 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33117 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-28 09:28:44 +00:00
Václav Slavík
172541f64b
added XRC handler for wxStdDialogButtonSizer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 21:28:27 +00:00
Vadim Zeitlin
34a34b020f
applied patch fixing problems with X server crash when using wxGLCanvas with nVidia cards (patch 1155132)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 18:06:43 +00:00
Vadim Zeitlin
8d0a7b563a
applied heavily modified patch 1116702: support for specifying disabled toolbar images and modified the sample to show how it works (badly, background of tools for which disabled bitmap is not specified is wrong)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 18:03:57 +00:00
Vadim Zeitlin
ec023a6e0b
added wxBitmap::GetMaskBitmap()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 17:47:39 +00:00
Robert Roebling
ea8ce907e1
Submit patch based on Michael W.'s invalid UTF8
...
to PUA patch. I added UTF8_TO_OCTAL and made
that the default for filename conversion uner
GTK2. More adapation, e.g. to G_FILENAME_ENCODING
need to be done.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 17:23:15 +00:00
Vadim Zeitlin
fb4888a650
added wxTE_BESTWRAP style (which is the default now); renamed wxTE_LINEWRAP to wxTE_CHARWRAP as this corresponds better to what it does; added tests for wxTE_*WRAP to the widgets sample (replaces patch 1156507)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 15:25:21 +00:00
David Elliott
97ae9d4cc7
Declare strptime when using MSL headers on OS X.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 08:48:30 +00:00
David Elliott
707c441892
Added #if wxUSE_STACKWALKER. Fixes compilation of OS X shared libraries.
...
TODO: What does it take to get wxStackWalker on OS X?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-27 01:59:17 +00:00
David Elliott
2a12cc65c8
Improve type safety by doing a runtime check to make sure the
...
wxFontMapper really is a wxFontMapper when GUI code asks for it.
Remove some incorrect comments and add some new ones.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 21:47:54 +00:00
Julian Smart
d44d0cbd73
Added C/wxString array constructors to wxArrayString
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-03-26 14:18:56 +00:00
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
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
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