Commit Graph

7416 Commits

Author SHA1 Message Date
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
Włodzimierz Skiba
891479a2da Additional wx*_HATCH styles comment.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 18:52:47 +00:00
Włodzimierz Skiba
ab9d0a8ca3 IS_HATCH macro replaced with wxBrush::IsHatch() + source and docs little cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-30 18:46:20 +00:00
Włodzimierz Skiba
86a9d44545 Include fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-29 12:44:11 +00:00
Robert Roebling
c2740a5aab Dirty hack to prevent double destruction of file dialog.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 22:54:13 +00:00
Stefan Neis
2461cfa0d9 Added support for compiling with wxUSE_STL set to 1.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 18:39:30 +00:00
Václav Slavík
6120f2fcdb fixed subtle SetDirectory bug re-introduced by latest changes (explained in comment in UpdateDialog); reintroduced UpdateDialog so that fixes like this are kept in single place and affect all ways of setting the patch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30806 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-28 10:49:01 +00:00
Robert Roebling
ddf6088b1e Added new Art which GTK+ 2.4 defines and
which we should use.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:23:47 +00:00
Robert Roebling
f1dec25f31 Avoid error message when closing message
dialog with the X field from the WM.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:21:12 +00:00
Robert Roebling
c7f73af494 Make wxTR_NO_LINES default under GTK2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:19:49 +00:00
Robert Roebling
76840ed0db Fixes for file dialog. No longer spits out
GTK error messages.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 23:18:40 +00:00
Václav Slavík
4ac725a3b3 renamed Render's argument to not obfuscate its meaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-27 22:40:05 +00:00
Ryan Norton
f44eaed650 patch 1073385
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 20:37:44 +00:00
Vadim Zeitlin
b494e2b008 added missing header needed at least by wxMotif under HP-UX
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30790 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 18:08:29 +00:00
Włodzimierz Skiba
063b752ebc wxProgressDialog needs progress bar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 17:00:31 +00:00
Vadim Zeitlin
2c62dd25cd changed the code to be really sure that exactly one update event is sent when SetValue() is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 14:43:54 +00:00
Stefan Csomor
64631e82fd const comparison operators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-25 05:21:32 +00:00
Vadim Zeitlin
1972900ebf define inline stubs for methods even with wxUSE_SYSTEM_OPTIONS == 0 to make it possible to test for system options without #ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 21:25:55 +00:00
Ryan Norton
973dc0a8ee prevent function hiding - move NextBackend into protected
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 19:15:27 +00:00
Włodzimierz Skiba
6bb44116c2 wxUSE_SLIDER=0 fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 16:08:12 +00:00
Robert Roebling
0cf3b5429a Applied patch to stop crashing the tree control
when deleting a selected item. Also does something
   to the inplace edit control.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 15:03:28 +00:00
Włodzimierz Skiba
fc84bd0570 Expression simplifications for scaling and inflating.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 14:18:20 +00:00
Robin Dunn
c220a8ec4f More DLL build fixes for wxMediaCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-24 00:07:45 +00:00
Włodzimierz Skiba
0e871ad039 Fixes for wxUSE_SPIN... == 0.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 20:08:56 +00:00
Ryan Norton
8f0ff17851 [ 1070686 ] wxOutputStream::Close()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 14:26:10 +00:00
Ryan Norton
95662a8379 Lots and lots and lots of MSVC fixes for archive stuff, some stuff from patch 1071373
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 13:49:43 +00:00
Dimitri Schoolwerth
36b79d445d fixed #includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 12:53:57 +00:00
Vadim Zeitlin
b01a88e050 don't show the status bar after restoring normal view after full screen if it had been hidden all along (bug 1071354); code cleanup: removed unused variables, reduced #ifdefs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 12:53:34 +00:00
Ryan Norton
ff2b312fc8 dll fixes for media lib
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 12:46:51 +00:00
Włodzimierz Skiba
1af34108c4 wxCHB<->wxNB flags switch fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 12:02:15 +00:00
Włodzimierz Skiba
61c083e781 wxBookCtrl->wxBookCtrlBase. wxBookCtrl is now most suitable book for given platform. Samples adjustement.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-23 11:45:07 +00:00
Robert Roebling
cffcf831ad Work in progress on printing stuff.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 21:50:31 +00:00
Julian Smart
a75d986396 Licence correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 20:28:28 +00:00
David Elliott
0bba37f51d Fix centering of top-level children of wxMDIParentFrame on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 20:10:53 +00:00
Julian Smart
706fb8932a Changed Rocketeer licence to wxWindows licence, by authorisation
of the copyright holder, Johnny C. Norris II


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 15:55:34 +00:00
Ryan Norton
c5d99d7b5c UNICODE-capatable UTF8 implementation of wxStringXXXStream
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-22 05:05:04 +00:00
Ryan Norton
ba8546912d wxTextOutputStream::PutChar and text stream test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 18:26:38 +00:00
Ryan Norton
2c09fb3b8b wxMemxxx --> wxTmemxxx, get rid of wxdocmpxxx impossible case
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30680 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-21 17:44:40 +00:00
Robert Roebling
08680429a2 Made wxPageSetupDialog a pimpl implementation.
Added a few clean-ups.
  Added native GNOME page setup dialog.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-20 14:46:25 +00:00
Vadim Zeitlin
1a38c220e1 last commit broke compilation for wxUSE_UXTHEME == 0; fixing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30656 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 21:52:18 +00:00
Vadim Zeitlin
9b7d2b81cc added another DoEraseBackground overload (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:50:25 +00:00
Włodzimierz Skiba
e1d6e01c88 Sorting fixes to wxUniv wxCombo/ListBox [part of bug #1040593].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:38:04 +00:00
Vadim Zeitlin
012e1eebae always return solid background for listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:36:23 +00:00
Vadim Zeitlin
a8da30af84 added MSWControlColorDisabled and MSWControlColorSolid
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 20:35:41 +00:00
Vadim Zeitlin
18342f1993 don't set background colour explicitely; no need to handle WM_ERASEBKGND ourselves now that it is done correctly at wxControl level
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:55:34 +00:00
Vadim Zeitlin
5c836c463a refactored code to do brush adjustment for bg drawing in only one place
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:53:03 +00:00
Vadim Zeitlin
48fa6bd38a replaced OnCtlColor(7 params) with MSWControlColor(1 param)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:40:31 +00:00
Robin Dunn
2b02216951 Give SendSizeEvent a generic implementation. It can be useful on
non-MSW platforms as well.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:20:01 +00:00
Vadim Zeitlin
9ae8168e5b removed OnCtlColor()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 19:05:12 +00:00
Vadim Zeitlin
21db32c129 added GetCurrentPage()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:57:53 +00:00
Vadim Zeitlin
01c500af65 removed (unused) nCtlColor parameter of OnCtlColor(); added MSWControlColor(); implemented it to use tab control background if applicable
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:37:42 +00:00
Vadim Zeitlin
caf95d2aef added support for drawing themed background: DoEraseBackground() and GetThemeBackgroundBrush()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 18:36:45 +00:00
Vadim Zeitlin
8a462d4ee1 added GetIfActive() method returning non-NULL engine only if themes are not only available, but really use
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 17:17:00 +00:00
Vadim Zeitlin
978bb48f35 added CompatibleBitmap wrapper class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30628 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 16:47:51 +00:00
Ryan Norton
3f5ca6b1c3 part of patch [ 649438 ] Bug fixes from Netscape/AOL
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 07:46:34 +00:00
Václav Slavík
9755e73bd9 applied modified patch with native GTK wxFileDialog
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-19 00:30:24 +00:00
Vadim Zeitlin
38c58c778d don't erase background in wxControl neither
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 23:20:10 +00:00
Ryan Norton
984b0d8ba7 get rid of singleCustomColour - its not needed. Cleanup/optimize a bit more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 16:35:16 +00:00
Robert Roebling
0be7709e71 Added support for native print preview (GNOME)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30610 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:45:40 +00:00
Robert Roebling
6408deedee Added support for alpha channels in interpolated
and non-interpolated image rotation.
  Added helper method for turning shades of grey
    into shades of alpha and a colour.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 14:01:45 +00:00
Włodzimierz Skiba
415a0ff16d 3rd state in checkboxes for wxUniv [closes bug#1040585].
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-18 13:16:41 +00:00
David Elliott
e2eafeff03 Implement toolbar tool clicks. Get rid of wxNSActionCell stuff because
Cells send their action from the view anyway so we'd have no way of knowing
which tool was clicked.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 18:02:56 +00:00
Robert Roebling
2934005d7d Use native printing dialog for wxPrintDialog,
not for setup only as before. It prints,
    but page selection etc. is still an idea


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 16:59:50 +00:00
Stefan Csomor
d5c8817ce5 file name char set string conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-17 15:14:35 +00:00
Ryan Norton
356c775fcf cleanup OSX native font dialog stuff a bit (it should prob. be an option in configure
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30574 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 14:36:10 +00:00
Włodzimierz Skiba
599132d33a eVC3 media fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 13:51:16 +00:00
Włodzimierz Skiba
226ec5a71a Define wxMediaEvent before it is used. Make OnMediaFinish compatible to wxObjectEventFunction. Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 13:49:27 +00:00
Vadim Zeitlin
00ba414f7f attempts to suppress C4702 for VC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 12:09:17 +00:00
Vadim Zeitlin
bcb251a0c1 small optimization for wxTextCtrl (forgot to commit with textctrl.cpp)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30565 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 12:06:02 +00:00
Václav Slavík
02c92ad972 modified wxEncodingConverter API to report failures
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-16 11:58:24 +00:00
Vadim Zeitlin
8681b0940e restored OnEraseBackground(), we do need it but only for the cases when the window has a non default background colour
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-11-15 18:10:48 +00:00