Commit Graph

27081 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
Robin Dunn
eba52a286d Patch #1106564, corrects possible 100% CPU load condition.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 18:23:35 +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
4221a0e54c remove margins in the bitmap button
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31547 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 15:41:59 +00:00
Vadim Zeitlin
7402677a3a implemented DrawComboBoxDropButton() for classic Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31546 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 15:36:56 +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
b6292ff062 compilation fix when used together with native control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 15:08:19 +00:00
Vadim Zeitlin
7ff2dfbac2 added possibility to use generic date control if configured
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 15:05:32 +00:00
Vadim Zeitlin
08c8690cf0 check for error in GetSelection(long *, long *); clean up SetSelect(long, long)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31542 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 15:02:58 +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
d98766152b put datectlg.cpp in ADVANCED_SRC so that it can be used in all ports, even MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 13:42:58 +00:00
Vadim Zeitlin
da98e9be4e added wxUSE_DATEPICKCTRL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 13:41:47 +00:00
Václav Slavík
097d3ba2ab compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 12:40:19 +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
6929fe3af8 Forgot to free string after usage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 11:33:26 +00:00
Włodzimierz Skiba
e9c52a40d7 Start more than minimal TLW support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 11:30:26 +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
1e219378a3 Add support for wxSL_INVERSE using gtk_range_set_inverted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 05:14:49 +00:00
Kevin Hock
5101728b68 wxSL_INVERSE added, noted as being wxGTK only (for now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 05:13:24 +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
Kevin Hock
b7d6b7faf2 Fixed name strings to match documentation (Expanded patch 1098784)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 03:56:16 +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
91edf16cb8 define wxDateEvent static stuff here
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 01:27:34 +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
Robin Dunn
767d6c83a3 Fix typos
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 20:55:06 +00:00
David Elliott
9598655399 Add support for Metrowerks compilers.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 17:33:07 +00:00
Włodzimierz Skiba
ae5e1dcb68 WM_CONTEXTMENU available since WinCE.NET
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 17:24:49 +00:00
Włodzimierz Skiba
61c2afedf4 Missing define.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 17:08:36 +00:00
David Elliott
c122b1645e Check for vsnprintf while using namespace std if its not found when not.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 17:03:58 +00:00
Vadim Zeitlin
d1fd3c2675 expanded the date picker part to show wxDP_XXX styles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 16:23:34 +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
David Elliott
c08ebc6275 Make sure -DNO_GCC_PRAGMA is in wx-config output regardless of the reason.
Mostly reverts configure.in,1.916,1.917 and uses a simpler method.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 16:10:17 +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
Włodzimierz Skiba
b7d216951f Syntax error fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 15:50:06 +00:00
Vadim Zeitlin
79e385875b compilation fix for CE: don't use GetModuleHandleA() which doesn't exist there
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 14:06:58 +00:00
Vadim Zeitlin
0aa7cb54a9 call InitCommonControlsEx() when using comtl32.dll <= 4.72; check for date picker availability for even earlier versions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 11:44:10 +00:00
Vadim Zeitlin
658252ef0c report more information about the control whose creation failed in the assert
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 11:32:14 +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
Włodzimierz Skiba
cc2c11e218 PalmOS description.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-20 06:56:35 +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
Robin Dunn
b5c4505960 Adjust the bounding box of the labels to client coordinants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 22:06:13 +00:00
Kevin Hock
a962d4e057 Additional header files required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 21:49:48 +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
Kevin Hock
7a3ba35d63 Additional header files required
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 21:38:26 +00:00
Stefan Neis
e9737edeee Compilation fixes for OS/2 (OS/2 still defines __UNIX__ :-( ).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31502 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 21:28:37 +00:00