Commit Graph

15354 Commits

Author SHA1 Message Date
Kevin Hock
3baba4c60d gtk_range_set_inverted only available on GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-22 13:48:38 +00:00
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Vadim Zeitlin
5385747ec6 use wxDP_SPIN by default under Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 19:39:33 +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
Włodzimierz Skiba
d0468e8c29 MinGW warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 14:13:57 +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
b480f61be3 MinGW warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 13:46:19 +00:00
Włodzimierz Skiba
2ac08aeb99 MinGW warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 13:26:04 +00:00
Włodzimierz Skiba
c3fad64b42 Cookie is not for dummy initialization due to condition of setting it. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 13:23:49 +00:00
Włodzimierz Skiba
89438177fe Fix for incomplete setup (wxPalmOS case).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 06:50:18 +00:00
Vadim Zeitlin
f0bce4d4e0 fixed crash in wxKill() introduced by 1.116 patch (ironically named "proper
return value testing"); this is slightly modified patch 1098248


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-19 02:51:13 +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