Commit Graph

7273 Commits

Author SHA1 Message Date
Włodzimierz Skiba
634629fa28 Enhanced wxGetStockLabel() with parameters which replace platform specific #ifdefs for wxPalmOS and wxWinCE and better serve for getting consistent wxMenuItem and wxToolBar labels (with documentation).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 17:57:35 +00:00
Włodzimierz Skiba
a152561c76 Native wxStaticText. Cleaning of wxRadioBox code before native implementation. Events for wxButton, wxCheckBox, wxToggleButton, wxRadioButton sended from within wxTLW. Internal improvements in structure of wxControl. Pass full palm event to handlers (instead of ID only). Last palm control ID with value which allow portable IDs with wxMSW (according to comment in msw code).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-31 08:04:44 +00:00
Vadim Zeitlin
77ec05d477 added ClassRegistrar (wraps Register/UnregisterClass Win32 API calls)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31657 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 16:57:57 +00:00
Vadim Zeitlin
8cfa09bdab added eraseBg argument to RefreshRect() too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 16:56:15 +00:00
Robert Roebling
9fce43b779 Commited SetHilightDropEffect patch.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-30 12:44:50 +00:00
Stefan Csomor
d9af087c42 move FixMath include into non darwin part
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 20:04:03 +00:00
Robert Roebling
dbc37e6880 Removed trailing semicolons.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 11:41:40 +00:00
Robert Roebling
537a0880d2 Tried to restore wxPopupTransientWindow functionality
under GTK+.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 11:32:46 +00:00
Robin Dunn
24c5243d09 Call CalculatePaperSizeFromId when SetPrintData or the assignment
operator is used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31627 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-29 01:06:10 +00:00
Włodzimierz Skiba
808e3bce62 Use stock labels. Native wxRadioButton. Getting position and size for the controls. Getting size for wxTLW. Default size and position for wxButton according to l&f guidelines. Removed wxUSE_CTL3D from wxPalmOS port. Better font for controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-28 10:58:13 +00:00
Stefan Csomor
613a24f7d2 CoreGraphics dev
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-28 05:47:01 +00:00
Stefan Csomor
3d63970769 FixMath fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31614 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-28 05:40:55 +00:00
Kevin Hock
0281278534 Add support for wxSL_INVERSE flag. Also uses new inverse logic to make Mac vertical sliders consistent with MSW/GTK vertical sliders with 0 oriented at the top rather than the bottom (use wxSL_INVERSE to orient in Mac-native way).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31609 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-27 21:18:47 +00:00
Włodzimierz Skiba
ba88951339 Get/SetValue() and other improvements to the native PalmOS controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-27 11:01:06 +00:00
Stefan Csomor
7bca6cefea storing ATSU style in the font itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-27 10:57:10 +00:00
Stefan Neis
e4a1c661cd Fixed C++ comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-26 16:19:36 +00:00
Włodzimierz Skiba
5fae0f97a1 TrackMouse DMC fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-25 12:22:56 +00:00
Włodzimierz Skiba
14778505d8 comment in C code fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-25 11:52:17 +00:00
Włodzimierz Skiba
bdb5436554 wxButton, wxCheckBox, wxSlider, wxToggleButton native implementations for PalmOS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-25 06:55:10 +00:00
Dimitri Schoolwerth
53a26bf774 fixed unused param warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-24 14:39:20 +00:00
Włodzimierz Skiba
450a1593ef Code cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-24 13:17:05 +00:00
Włodzimierz Skiba
b1c741f8a2 Avoid hiding virtual wxWindow::IsEnabled() in wxMenuBar class.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-24 11:14:09 +00:00
Włodzimierz Skiba
db101bd352 Native PalmOS wxControl and wxButton implementation. wxTLW without fixed size. Unused MSW code cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-24 07:38:52 +00:00
Robert Roebling
0bd3b8eca1 Enable UpdateUI events in wxTaskBarIcon.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-23 22:39:03 +00:00
Stefan Neis
097338d747 Removed setup0.h - we are using configure generated setup.h on OS/2.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31563 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-22 16:54:48 +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
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
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
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
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