Commit Graph

7230 Commits

Author SHA1 Message Date
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
Vadim Zeitlin
da55d0644f extracted Unix code in a separate new file (src/unix/dlunix.cpp), it remains only to refactor Mac/OS2 versions to finally fix the mess in common/dnylib.cpp...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 22:21:44 +00:00
Vadim Zeitlin
defbed48e7 1. extracted MSW-specific part of wxDynamicLibrary in msw/dlmsw.cpp
2. added and documented wxDynamicLibrary::ListLoaded()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 20:50:06 +00:00
Vadim Zeitlin
f1781e98b6 compilation fix for !USE_PCH
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 15:47:02 +00:00
Vadim Zeitlin
28999ba631 don't force wxUSE_EXTENDED_RTTI to eb 1 for Borland compiler (why?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31396 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 15:46:22 +00:00
Vadim Zeitlin
748a468469 added code for hardware platform detection (__INTEL__, __POWERPC__, ... which were not set correctly before); added __IA64__
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 14:01:44 +00:00
Vadim Zeitlin
20d8c31990 implemented Export(file)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 00:26:40 +00:00
Vadim Zeitlin
5fec5bb620 added mode parameter to wxFFileStream ctors taking wxFFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 23:06:09 +00:00
Vadim Zeitlin
c67b4daf47 only define wxUSE_NATIVE_STATUSBAR for the ports which have it (MSW and Mac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 21:07:04 +00:00
Vadim Zeitlin
aa1f2541b6 removed all occurences of (obsolete) wxUSE_DYNAMIC_CLASSES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 17:54:04 +00:00
Vadim Zeitlin
e31e6ea75d moved styles logic to MSWGetStyle() (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 17:10:34 +00:00
Vadim Zeitlin
32f1f66a3e wxMSW wxDatePickerCtrl header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 17:08:07 +00:00
Vadim Zeitlin
8d8f077eab manage wx/mac/setup0.h using build/update-setup.h too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 16:14:14 +00:00
Vadim Zeitlin
6d1fbf781e moved some Win32-specific settings from common file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 16:11:20 +00:00
Vadim Zeitlin
24ab5c03d9 added special comments used by build/update-setup.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 15:55:04 +00:00