Commit Graph

7230 Commits

Author SHA1 Message Date
Włodzimierz Skiba
f4fffffc95 Warning fixes for MinGW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31551 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 18:26:01 +00:00
Włodzimierz Skiba
ef359b4350 Warning fixes for MinGW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 18:15:42 +00:00
Vadim Zeitlin
77670008aa more forward declarations (trying to fix bug 1106829)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31548 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 17:54:08 +00:00
Vadim Zeitlin
f33cef9fec added DrawComboBoxDropButton()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31545 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 15:32:07 +00:00
Vadim Zeitlin
15c86b39a7 define wxHAS_NATIVE_DATEPICKCTRL in the header file to make it available to user code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31541 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 14:41:38 +00:00
Vadim Zeitlin
51cdee11e0 moved code working around combobox selection bug to wxComboBox: wxChoice doesn't have selection anyhow, why should it be there?
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 14:39:29 +00:00
Vadim Zeitlin
04049dbb0b added wxUSE_DATEPICKCTRL_GENERIC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 14:08:00 +00:00
Vadim Zeitlin
7ae712f566 renamed generic version to wxDatePickerCtrlGeneric to allow using it alongside the native one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 13:44:01 +00:00
Vadim Zeitlin
209afcf78c don't include wx/popupwin.h in the header, use forward declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 12:38:12 +00:00
Włodzimierz Skiba
b08cd3bf53 Reenable wxPalmOS status bar after recent changes. Start transition from faked drawing of the bar to usage of the native status bar. Source cleaning as usually.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 11:22:11 +00:00
Kevin Hock
5224bb9485 Add wxSL_INVERSE flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 05:12:29 +00:00
Vadim Zeitlin
d5ae99f5e8 switched to using wxPopupWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 02:00:07 +00:00
Vadim Zeitlin
cb1ef83399 use ResetTime() in Today() instead of dealing with raw struct tm which introduces a bug around DST changes (replaces patch 1097811)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 01:21:35 +00:00
Vadim Zeitlin
2cfbeac814 added and implemented for MSW wxDP_SHOWCENTURY flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 16:22:48 +00:00
Włodzimierz Skiba
8ea92b4d77 Simple wxBatteryPower API for the support in wxWinCE, wxPalmOS and any other mobile device with wxWidgets. Minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 16:09:23 +00:00
Vadim Zeitlin
6ee03aed39 fixed typo in testing whether wxUSE_NATIVE_STATUSBAR should be set to 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 10:07:07 +00:00
Vadim Zeitlin
e77620e90b wxUSE_CRASHREPORT/STACKWALKER may be sued without wxUSE_ON_FATAL_EXCEPTION
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 01:04:42 +00:00
Vadim Zeitlin
da4486fb82 trying to get wxUSE_NATIVE_STATUSBAR setting correctly: define it to 1 by default but reset it to 0 in wx/chkconf.h if it's not supported
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 01:01:55 +00:00
Stefan Neis
fd6c94288f Compilation fix for OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 21:41:11 +00:00
Vadim Zeitlin
14bdf09396 Unicode compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 20:13:49 +00:00
Vadim Zeitlin
29c8694822 added wxDP_SPIN/DROPDOWN styles (only Win32 native version implements the former)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31498 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 19:31:40 +00:00
Włodzimierz Skiba
7d8268a1d6 wxTextPos for all GetLastPosition with constants for special cases. Make it virtual everywhere. Avoid doubling typedefs. Always include textctrl.h for combobox.h. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 16:25:34 +00:00
Vadim Zeitlin
4b134bb2ce compilation fixes; pruned API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 15:57:30 +00:00
Vadim Zeitlin
39df3acde9 added generic version of wxDatePickerCtrl from Andres Pflug
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 13:55:48 +00:00
Włodzimierz Skiba
a0be690852 Fixes after removal of palmos/gccpriv.h.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 06:48:42 +00:00
Vadim Zeitlin
51e4e26670 reenabled WM_MOUSELEAVE event handling (patch 1104551); moved duplicated code in its handler in a new GenerateMouseLeave() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 02:31:09 +00:00
Vadim Zeitlin
e3c55eb333 don't return HTCLIENT for static bitmaps, this breaks mouse (leave) event generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 02:29:42 +00:00
Vadim Zeitlin
21eefb768a (harmless) VC++ warning fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 02:28:34 +00:00
Vadim Zeitlin
eaff0f0d3f implemented wxStackWalker for Unix (using glibc-specific methods); moved wxUSE_STACKWALKER to common setu_inc.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31474 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 01:15:12 +00:00
Włodzimierz Skiba
d471bb2d4c Less MSW related files in wxPalmOS port.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 21:27:06 +00:00
Włodzimierz Skiba
e1d63b7935 Cleaning of headers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 21:14:27 +00:00
Włodzimierz Skiba
252d21bd38 MinGW warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 20:23:48 +00:00
Kevin Hock
92301a5915 Added DLL export for wxCommandEventStringHelper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 16:07:44 +00:00
Kevin Hock
b4b76d6115 Move member m_ variables to be protected rather than public to force usage of Set/Get rather than allow direct access. Compatibility with 2.4 keeps members private, and also creates a class to allow continued usage of m_commandString. GetString() will now get the text control's string when called, rather than store it and return it every time (huge performance gain by doing this, esp. on GTK2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31455 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 15:12:53 +00:00
Vadim Zeitlin
7efaa702da wxUSE_CRASHREPORT and wxUSE_STACKWALKER can't be used if wxUSE_ON_FATAL_EXCEPTION == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 13:39:08 +00:00
Vadim Zeitlin
738cadd897 reverted last commit, do this check in wx/chkconf.h instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 13:36:58 +00:00
Vadim Zeitlin
a353dc9852 more fixes to dllexport/import stuff for operator<<()s (still bug 1104372)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 13:15:20 +00:00
Vadim Zeitlin
8228dac8ff wxUSE_CRASHREPORT and wxUSE_STACKWALKER can't be used if wxUSE_ON_FATAL_EXCEPTION == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 13:10:16 +00:00
Vadim Zeitlin
7fcdf88f88 added WXDLLIMPEXP_BASE for operator<<() functions (blind fix for bug 1104372)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31445 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 12:30:19 +00:00
Włodzimierz Skiba
f5d9cc735c PalmOS native colour dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 10:31:24 +00:00
Włodzimierz Skiba
23ee4b4874 wxWinCE fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31443 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-18 10:10:23 +00:00
David Elliott
3e21fc053d Moved Clear() implementation into wxDC using a new virtual CocoaGetBounds()
to determine the rect to clear.  Also added CocoaUnapplyTransformations()
to bring the coordinate system back into Cocoa coordinates for those
cases such as Clear() where it makes more sense.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31440 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 21:30:53 +00:00
Włodzimierz Skiba
1aaf88d220 Common default datetime formats.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 21:29:23 +00:00
Vadim Zeitlin
47e94dedd9 added GenerateNow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 02:04:06 +00:00
Vadim Zeitlin
1b68f1da6e added wxUSE_CRASHREPORT and wxUSE_STACKWALKER; removed obsolete wxUSE_DYNAMIC_CLASSES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 01:24:57 +00:00
Vadim Zeitlin
7beafee942 added wxStackWalker class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31416 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 01:23:20 +00:00
Vadim Zeitlin
83dee24ca2 refactored wxCrashReport to use new wxDbgHelpDLL class; added wxCrashContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 01:21:57 +00:00
Vadim Zeitlin
3d8b5d8502 created a reusable interface to dbghelp API
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31414 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 01:20:36 +00:00
Vadim Zeitlin
a76d8a2953 only declare wxHandleFatalExceptions() when wxUSE_ON_FATAL_EXCEPTION == 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 00:38:33 +00:00
Vadim Zeitlin
76cebbff35 added argc and argv arguments to wxInitializer ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-17 00:13:39 +00:00