Commit Graph

7386 Commits

Author SHA1 Message Date
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
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
Vadim Zeitlin
ff3a660baa added setup.h file containing the settings common to all ports and a script to update wx/*/setup.h using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 15:54:00 +00:00
Vadim Zeitlin
ef78230168 removed obsolete wxUSE_CTL3D
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 14:45:20 +00:00
Vadim Zeitlin
feb72429e8 added API, docs and Win32 implementation of wxDatePickerCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 01:31:10 +00:00
David Elliott
9d208085a7 Forgot to commit this as part of the CocoaGetWxToBoundsTransform change.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31362 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 15:02:54 +00:00
David Elliott
4db3c8ac63 Separate NSAffineTransform creation out of wxDC::CocoaApplyTransform into
static wxDC::CocoaGetWxToBoundsTransform.  Create the transform and store
it as a member variable in wxDC when focus is locked on the DC.
For wxClientDC and wxPaintDC call a new wxWindow::CocoaGetWxToBoundsTransform
which will eventually handle scrolling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 14:22:03 +00:00
Włodzimierz Skiba
52f2ad0899 Common wxListCtrl control name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 13:07:44 +00:00
Włodzimierz Skiba
e211b7b106 Common default notebook name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 20:36:26 +00:00
Włodzimierz Skiba
630ad6c6b6 Common default notebook name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 20:30:21 +00:00
David Elliott
34c9978dac Add new methods to transform coordinates expressed in Cocoa's bounds rect to
and from those expressed in wxWidgets fashion.  Use these new methods to do
the translation for mouse events, child window position, and dirty rects.
Also improve DoMoveWindow to only dirty the old and new rects of the
control within its superview rather than the entire superview.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 20:51:35 +00:00
Julian Smart
6914b57adc Made some functions virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 13:13:08 +00:00
Jouk Jansen
13973396cb Committing in .
Updates for OpenVMS

 Modified Files:
 	wxWidgets/setup.h_vms wxWidgets/include/wx/db.h
 ----------------------------------------------------------------------


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31321 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 07:47:40 +00:00
Włodzimierz Skiba
a6fb8636e5 Old API deprecated. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-11 21:17:16 +00:00
David Elliott
f298b203b5 Renamed the wxWindowCocoaScroller class to wxWindowCocoaScrollView because
it was confusing.  Scroller is the Cocoa term for a scroll bar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-11 01:55:42 +00:00
Vadim Zeitlin
25b0e7c897 factored out wxGetFullModuleName(HMODULE) from wxGetFullModuleName()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 19:43:55 +00:00
David Elliott
d8fdd58fa3 Add constructor and Set taking NSColor.
Change eqauality operator to check if the NSColor objects are the same
instance or if all of the color components (m_red/green/blue) are identical.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 18:37:36 +00:00
Włodzimierz Skiba
eecb33b018 Old API deprecated. Use new and remove old usage where necessary.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 17:21:16 +00:00
David Elliott
bf428459fc Added wxMemoryDC::Clear()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 01:52:08 +00:00
Vadim Zeitlin
c50a4038e3 implemented wxIsDebuggerRunning() for Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-08 17:44:46 +00:00
Vadim Zeitlin
6b73af793f made FindWindow() member functions const (this makes it possible to use XRCCTRL() in const methods)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 23:51:04 +00:00
Robert Roebling
e3d64157d7 Added way to specify in generic tree control
if the drop effect (a line) should be drawn
   above or below the item.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 22:31:42 +00:00
Václav Slavík
0c9ff74f05 fixed condition for using #pragmas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31286 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 21:27:20 +00:00
Włodzimierz Skiba
2d67974d24 Old API clearly deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 20:03:22 +00:00
Robert Roebling
cf9d4c6766 Added wxFopen to the MSLU code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 18:48:30 +00:00
Robert Roebling
c34db1bee3 Removed useless defines for WinCE which is
always Unicode and never MSLU.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 18:47:29 +00:00
Włodzimierz Skiba
8175d02570 MS Smartphone has no input other than phone buttons which limits pointing on screen. Perhaps in the future.....
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 18:27:43 +00:00
Włodzimierz Skiba
d910fe28f4 Include order fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 18:24:54 +00:00
Vadim Zeitlin
7c7a653bec moved HasTransparentBackground() from wxUniv to common wxWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 16:54:09 +00:00
Włodzimierz Skiba
b4efc9b931 Old API clearly deprecated. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-06 12:41:27 +00:00
Robert Roebling
4b412d2382 wxEncodingConverter should and can be compiled
without wxFontMapper and its corresponding wxUSE_FONTMAP


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31256 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-06 11:53:53 +00:00
Vadim Zeitlin
3b72cd917f don't include wx/msw/wrapwin.h in public header; corrected the m_hDWP type instead
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 22:46:32 +00:00
Włodzimierz Skiba
1729813a8d Old API clearly deprecated.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31248 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 19:25:02 +00:00
Włodzimierz Skiba
69c695466d Removed all duplicated and complicated #ifdefs for enabling Skip and Abort in progress dialog (Smartphone fixes).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 18:37:42 +00:00
Włodzimierz Skiba
fa9a4f7f81 Error fix after recent changes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 18:32:29 +00:00
Mattia Barbon
ce195ee632 Allow building with wxUSE_PROTOCOL_FTP/HTTP == 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-05 07:26:40 +00:00
Włodzimierz Skiba
ec157c8f95 Old API depreciated. Use of new API. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 19:35:52 +00:00
Vadim Zeitlin
220f77b0d2 restored using DeferWindowPos() for moving all windows at once (this does help with flicker somewhat) but now call EndDeferWindowPos() from WM_WINDOWPOSCHANGED handler, not WM_SIZE one which is never generated for the dialogs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31232 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 18:57:41 +00:00
Mattia Barbon
f5db5af932 Untabify.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 17:41:47 +00:00
Mattia Barbon
3c7896fd3f Change FIXME in TODO and clarify its meaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31230 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-04 17:40:43 +00:00
Włodzimierz Skiba
6b5c476168 Pasting typo fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-03 07:22:48 +00:00
Włodzimierz Skiba
7d81eb8cee Full support to the native progress dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-03 07:08:17 +00:00
Włodzimierz Skiba
974c2a5904 Incomplete (PalmOS) setup compatibility.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31217 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-03 07:03:31 +00:00
Vadim Zeitlin
9a84ce0d31 fixed IMPLEMENT_DYNAMIC_CLASS2 macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-02 22:52:22 +00:00
Robert Roebling
b181a50500 Allow to set the various buttons explicitly (and
not through IDs) in the wxStdButtonSizer.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-01 17:26:30 +00:00
Robert Roebling
acf2ac3757 Applied modified form of the StdButtonSize patch.
Tested on GTK2, MSW and Mac.
  Adapted various generic dialogs to stretch the
    button sizer so that the buttons don't end
    up centered but right aligned.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 18:57:25 +00:00
Stefan Csomor
c3aee5c154 SetFocus fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 13:29:35 +00:00
Włodzimierz Skiba
555f645a40 wxDialog::Show is virtual as elsewhere. Native PalmOS progress dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-31 07:08:11 +00:00
Włodzimierz Skiba
ecda94753a wxPD_CAN_SKIP for skipping parts of progress and reintroduced wxPD_SMOOTH after removal of modal dialog flag.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-30 15:07:28 +00:00
Stefan Csomor
3feeb1e1e0 added RequestUserAttention
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31189 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 10:10:14 +00:00
Włodzimierz Skiba
23a59c2cbe Empty container and design description for native PalmOS wxPrefConfig. Remove MSW configs from PalmOS.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 09:48:43 +00:00
David Elliott
4170c465f4 Added wxBitmap::UseAlpha() stub.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31186 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-29 04:00:28 +00:00
George Tasker
549c8cc2fe More parameter variable names fixed to make them more readable by replacing abbreviations with the full word
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31180 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 21:32:38 +00:00
George Tasker
b803274045 Non-standard abbreviations of words in function/variable names changed to standard abbreviations or the entire word (e.g. colNo is now colNum)
If SetColDef is called with an out of range index, the function in debug will throw an assert msg, and call wxLogDebug(), and then return without doing anything.  The function now returns a boolean to indicate if the column definition was successfully created or not


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31178 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 21:10:12 +00:00
George Tasker
5f72522e58 Implemented a fix to allow Unicode builds to work with MSACCESS. This fix should be tested against other databases also to ensure that the determination of the type to be used for character strings correctly finds that right type in unicode mode for other DBs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31174 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 19:22:37 +00:00
George Tasker
215a0070c1 Firebird DB support added. Basic testing is done, and appears to work fully. Need real users to test the additions please
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-28 00:33:09 +00:00
Włodzimierz Skiba
51496782d1 wxLongLong to wxString operators.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 18:57:21 +00:00
Włodzimierz Skiba
9d8aca4832 Take best fitting type for available memory measurement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31152 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 18:47:26 +00:00
Václav Slavík
49a1436640 blind fix for GCC compilation when #pragmas are honored
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 08:52:17 +00:00
Włodzimierz Skiba
5445a26cc4 MSW and source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31150 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-27 08:36:21 +00:00
Robert Roebling
f7c6f947cf Added TREE_ITEM_MENU event that gets sent if the
user hits the "Menu" key on the newer keyboards.
   So far generic control only.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-26 17:37:59 +00:00
Vadim Zeitlin
ff1ce99740 added SetCmdLine(int, char **) overload even when building a Unicode app
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-25 01:58:36 +00:00
Włodzimierz Skiba
12839f76d8 First nonminimal wxPalmOS functionality: enumeration of available volumes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-24 07:44:44 +00:00
Włodzimierz Skiba
f932daffcb wxPalmOS was introduced long after 2.4.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-24 07:41:53 +00:00
Robin Dunn
3c1705d911 Updated to SWIG 1.3.24 (plus a patch that corrects a bug and adds back
some things that were changed/removed from my patch I submitted to
them.)

Since it is now possible easily and simply share the SWIG type tables
across modules I reverted to always using the stock SWIG runtime
instead of my slightly hacked up version of it exported via the
wxPython C API.

The %name directive is now deprecated so replaced most uses of it with
a custom %Rename macro that uses %rename internally.  These will
evetually need to be replaced with a DocDecl macro when docstrings are
added.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:53:38 +00:00
Włodzimierz Skiba
47261ba05f Deprecated methosd markup (documented).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-23 20:33:04 +00:00
Vadim Zeitlin
dd12ce22d8 fixed background drawing for opaque controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31119 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 21:07:33 +00:00
Włodzimierz Skiba
82ef81ed9c Final MSW/PalmOS split. Remove dump copies of MSW specific code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 07:22:25 +00:00
Vadim Zeitlin
57be9aac75 reverted use of DeferWindowPos() instead of MoveWindow()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-22 01:05:13 +00:00
Włodzimierz Skiba
1296186133 Borland fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-21 16:41:55 +00:00
Włodzimierz Skiba
e2bcbdfbc7 Metric conversion constants not doubled in each port code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-21 16:25:59 +00:00
Stefan Csomor
885fb02fa1 moving Carbon Event Class out of USE_GUI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-21 13:50:28 +00:00
Włodzimierz Skiba
4055ed8281 Use __WXPALMOS__ for PalmOS port which fits __WX$(TOOLKIT)__ of bakefiles. Do not depend on MSW macros in PalmOS port. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 12:44:22 +00:00
Vadim Zeitlin
d35dce3a2e end label editing if the control loses focus (slightly modified patch 1084592)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31084 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 01:23:52 +00:00
Vadim Zeitlin
4d17215498 added flags parameter to wxExecute(wxArrayString *) overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-20 00:03:35 +00:00
Vadim Zeitlin
f38f689990 added wxEXEC_NODISABLE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 23:59:28 +00:00
Vadim Zeitlin
d70471fe72 corrected wxMAKE_VERSION_STRING and wxMAKE_VERSION_DOT_STRING definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 23:08:43 +00:00
Vadim Zeitlin
9b6ae4506e use DeferWindowPos() instead of MoveWindow() if possible; always use WS_CLIPCHILDREN; never use WS_CLIPSIBLINGS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 22:08:47 +00:00
Vadim Zeitlin
cf8ff92f83 moved wxWindow::m_hMenu to wxFrame, it is not needed in the base class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 20:56:38 +00:00
Vadim Zeitlin
4cc4e7b6cc moved ProvidesBackground() from wxUniv to base wxWindow class; use it to prevent inheriting background brush beyond the windows which normally have their own background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 20:51:06 +00:00
Vadim Zeitlin
d1a47dfe23 fixed background appearance for the controls with changed foreground colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 20:15:43 +00:00
Stefan Csomor
a484859779 extended EventRef class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-19 16:41:41 +00:00
Robert Roebling
5f3565a2fb Fix for the fix for wxChoice selection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-18 13:13:52 +00:00
Ryan Norton
9180b5352f wxMediaCtrl API changes for 2.5.x/2.6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 16:07:21 +00:00
Vadim Zeitlin
44029ca4ef override AcceptsFocus() inherited from wxStaticBox to accept focus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 01:43:19 +00:00
Vadim Zeitlin
47e388caa6 accept focus in radiobox again (broken by making it derive from static box which doesn't accept it)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 01:41:47 +00:00
Vadim Zeitlin
aca49b7913 corrected comment about wxRadioBox not deriving from wxStaticBox in wxMSW (now it does)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-17 01:35:10 +00:00
David Elliott
b6e8e2417d Fixed typo(?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 22:51:10 +00:00
Włodzimierz Skiba
b1263dcfa3 Make ComputeScaleAndOrigin() as virtual part of wxDCBase and this way present on missing platforms. Add into manaul too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 21:24:45 +00:00
Włodzimierz Skiba
d0430ee2ba GCC of PalmOS fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 19:36:11 +00:00
Vadim Zeitlin
976b3cb3d9 added GetBestSize() implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-16 02:39:11 +00:00
Włodzimierz Skiba
e951b8e4e6 Move unused values into 2.4 compatibility. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-15 12:22:51 +00:00
Włodzimierz Skiba
83c5e93495 Be C file.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-14 20:34:23 +00:00
Vadim Zeitlin
7344726a7a undef CreateWindow too, even if we don't use it ourselves it's still a very common name and shouldn't be defined after including wxWindows headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 21:30:39 +00:00
Włodzimierz Skiba
19edb09cd9 math.h/PI integration
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 19:54:38 +00:00
Vadim Zeitlin
bdd1a35ddc (blind) wxUniv compilation fix: define the method using wxWindow out of line, i.e. after wxWindow is defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 19:42:35 +00:00
Vadim Zeitlin
7249080588 added WX_FORWARD_STD_METHODS_TO_SUBWINDOWS macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30981 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 01:02:32 +00:00
Vadim Zeitlin
bd0a76e228 1. derived wxMSW radio box from static box because it includes the box anyhow
2. changed it to use wxSubwindows to cut down code duplication
3. deprecated Get/SetNumberOfRowsOrCols() which didn't do anything in neither
   MSW nor GTK (this is the only change in GTK code)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30980 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 01:00:35 +00:00
Vadim Zeitlin
b04093c949 use solid bacgkround for static box as pattern brush can't be properly aligned when it is painted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:12:37 +00:00
Vadim Zeitlin
c4a95f6f99 implemented MSWGetBgBrush/ColourForChild() to propagate themed notebook background to children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:11:14 +00:00
Vadim Zeitlin
c5bd3c6268 rewrote and virtualized the background erasing logic: each window may now
specify which background brush should be used for its children and each child
may also choose to use either background brush or (solid) background colour

wxWindow::OnEraseBackground() and wxControl::MSWControlColor() now use the
same code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-13 00:09:54 +00:00
Vadim Zeitlin
042ce4ccba forward Enable() and SetFont() to the labels as well
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30975 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 21:51:11 +00:00
Vadim Zeitlin
052da7d572 added a few more composite functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 21:43:45 +00:00
Vadim Zeitlin
7af99268d4 override MSWGetDefaultBgBrush() to use transparent brush
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:47:01 +00:00
Vadim Zeitlin
d34e375c9c added MSWGetDefaultBgBrush() to allow some derived classes to use transparent brush for erasing background
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 19:44:52 +00:00
Vadim Zeitlin
8da1f9a99e delete children in ~wxWindow dtor and not in the base class ~wxWindowNative as it's too late there (replaces patch 1082605; closes bug 1068000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30959 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 17:47:06 +00:00
Stefan Csomor
0842200308 scrolling hack (always move our own scrollbars highest in z-order)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 15:22:49 +00:00
Vadim Zeitlin
70a7bd90f9 large files support for wxFFile (patch 1077980 from Mike Wetherell)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30952 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 11:53:53 +00:00
Vadim Zeitlin
14b4c0ff12 gravity for splitter window (patch 1046105)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 11:19:36 +00:00
Vadim Zeitlin
3ea9aa8f0e removed extra class qualifier from inline method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 10:33:51 +00:00
Vadim Zeitlin
e5099bdf4b master setup.h for msvc users
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 10:33:03 +00:00
Vadim Zeitlin
e96ec686d8 never return NULL_BRUSH from WM_CTLCOLOR handler, it doesn't do much for most controls and breaks background erase for a few (slider, static text, static bitmap, ...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-12 00:06:43 +00:00
Vadim Zeitlin
6181cef532 use MSWAlwaysDrawBg() to fix the problem with black background; rewrote/cleaned up the positioning and window creation code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:35:41 +00:00
Vadim Zeitlin
19fdd4efb6 helper class for implementing composite controls under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:35:27 +00:00
Vadim Zeitlin
c5c4c31e6c added MSWAlwaysDrawBg() to account for controls such as sliders which must not draw background with transparent brush no matter what
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:34:15 +00:00
Vadim Zeitlin
9688700c97 added wxRectFromRECT()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30933 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:32:20 +00:00
Vadim Zeitlin
df83b840bb added and documented wxRect::Union(); also moved some methods inline
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 23:29:55 +00:00
Robert Roebling
ababa106ae Add SetFocusIgnoringChildren() to wxControlContainer. This
makes corresponding hacks in wxListCtrl and wxTreeCtrl
    obsolete. With docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-11 12:51:05 +00:00
Vadim Zeitlin
a21d4ad106 really implemented operator==(); reformatted a little
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-10 11:23:16 +00:00
Włodzimierz Skiba
de4b00500f Back to broken comparison until it is not fixed other way.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-10 07:28:25 +00:00
David Elliott
4c683a3021 Wrap wxImage specifics in wxUSE_IMAGE and wxBitmap specifics in wxUSE_GUI.
This allows the code to be used from wxBase with other image classes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30921 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-10 01:53:31 +00:00
Julian Smart
4e324a3fbf Combobox corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-09 15:27:54 +00:00
Julian Smart
150e31d208 Added further 'missing' wxTextCtrl-like functions to wxComboBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-09 15:16:51 +00:00
Mattia Barbon
d7ab66a1cb Made wxHashSet compile again. Changed the return value
for insert() t match the one of wxHashMap (and of std::set).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30910 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 22:39:17 +00:00
Robert Roebling
78b3b018ce Corrected wxComboBox::GetValue() after a
selection has changed. Added test for
    that to the "widgets" sample.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 22:08:28 +00:00
Włodzimierz Skiba
917be7ed06 wxPaletteBase introduction. wxPalette::GetColoursCount() in interface of all platforms. wxColourMap definition centralized and 2.4 only. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 17:43:18 +00:00
Włodzimierz Skiba
767e3be0fa Fix to FIXME: better nothing than broken comparison.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30900 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-08 17:17:37 +00:00
Włodzimierz Skiba
ea76a6a5ca Fix to FIXME about using unused Get/SetOptimization.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-07 20:10:40 +00:00
Włodzimierz Skiba
5c750f949f Fix to FIXME removal for dummies ;-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 17:37:31 +00:00
Włodzimierz Skiba
c5789d1526 Use Get*Box instead Get*Region if you are asking about position and size. And it is enough to have it in base class only.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 15:48:50 +00:00
Robert Roebling
16edee16a7 Apply choice patch for proper handling of clearing
wxChoice (it reported a selection value of 0)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-06 12:47:06 +00:00
Robert Roebling
4e1901b70e Moved the implemtation of the generic and the
native GTK 2.4 file dialogs into one place
   by making wxFileDialog derive from the
   generic variant and by then choosing which
   implementation to use. Later, we'll add
   run-time checks.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30868 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 20:30:18 +00:00
Julian Smart
bcfced3616 Neither PocketPC nor SmartPhone have SHBrowseForFolder
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 18:56:29 +00:00
Robert Roebling
265accbe55 A little documentation about custom events as
per the discussion on the mailing list.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30859 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 16:30:54 +00:00
Julian Smart
e0f6b731a8 Added flags argument to wxKill and wxProcess::Kill to allow it to
kill child processes.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30855 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-05 12:53:25 +00:00
Włodzimierz Skiba
c7dc771115 wxGDIObject is used earlier now so additional #include is required for those without PCH.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 17:31:53 +00:00
Włodzimierz Skiba
84df104241 Fix to FIXME: better nothing than broken comparison.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 15:38:35 +00:00
Włodzimierz Skiba
cb9d5bd07e wxBrushBase between wxBrush and wxGDIObject (class follows wxFontBase model).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-03 15:31:31 +00:00
Julian Smart
aaf1bbfd62 Fixed memory checking on Unix by removing inlines and apply patch
by Mart Raudsepp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-02 12:04:46 +00:00
Ryan Norton
2cbfa061b4 Correct mistakes in wxStripExtension - correct wxString::npos. Spurred by 1073642 filefn.cpp StripExtension(wxString &)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30838 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 23:55:42 +00:00
Robert Roebling
4ea56379e3 Added support for static (inlined) wxImages with
alpha channel.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 21:33:38 +00:00
Robert Roebling
41b81aed52 Applied Freeze()/Thaw() patch for wxTextCtrtl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 20:52:36 +00:00
Robert Roebling
70dfc4ed70 Compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 19:15:46 +00:00
Robert Roebling
86baa52d22 Applied patch to "correct" hashmap's freeing
of memory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 18:33:33 +00:00
Julian Smart
c86abb56d5 Include "wx/msw/msvcrt.h" for better leak reporting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-12-01 14:46:16 +00:00
Włodzimierz Skiba
842215bbb7 Fixed old FIXME about unsigned result of sunstraction + a few changes to be able to compile at the same time wxLongLongNative and wxLongLongWx for unit tests about the same functionality (define wxLONGLONG_TEST_MODE for the build if you want to test it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 21:21:23 +00:00