Commit Graph

27290 Commits

Author SHA1 Message Date
Mattia Barbon
55e3f1c4f9 Warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-22 13:42:33 +00:00
Mattia Barbon
10dcbe6369 Fix wxSortedArray::Index() when wxUSE_STL == 1, with tests.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-22 13:28:49 +00:00
Robin Dunn
104fa1124d Disable wxDatePickerCtrl if wxPopupWindow is not available
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 22:12:13 +00:00
Włodzimierz Skiba
e273151278 Headers cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31557 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 21:04:05 +00:00
Vadim Zeitlin
6c1635b598 added wxStaticBoxSizer ctor creating a new static box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 20:56:39 +00:00
Robin Dunn
aeee37c362 * Some WXWIN_COMPATIBILITY_2_4 changes, as well as flagging other
things that will need fixing when WXWIN_COMPATIBILITY_2_4 is turned
  off.

* Create a custom version of the "default" ctor for wxCursor on wxGTK

* Switch to new format string and name string constants for default
  values

* Changes some public data members of event classes into properties as
  they are no longer public in the C++.

* Added wxSL_INVERSE


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31555 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 20:38:51 +00:00
Robin Dunn
d7f03cae7f Added setter to wxMoveEvent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 20:25:38 +00:00
Kevin Hock
9da00e91b4 Do not emit a wxEVT_COMMAND_TEXT_UPDATED when the tab key is lifted (otherwise each time you tab into the combobox, the text updated event is fired, which is wrong)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 20:04:00 +00:00
Włodzimierz Skiba
16cba29d3a Warning fixes for MinGW.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-21 18:48:22 +00:00
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