Commit Graph

42482 Commits

Author SHA1 Message Date
Paul Cornett
ea3a345f1c factor out a whole bunch of duplicated code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50762 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 07:31:35 +00:00
Stefan Csomor
dd145136b6 missing include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50761 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 07:28:07 +00:00
Paul Cornett
46142dc952 remove some duplication in font scaling code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 07:05:35 +00:00
Paul Cornett
f7732fa59a create hatch bitmaps on demand, and dispose of them at termination
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 06:30:25 +00:00
Paul Cornett
d6afc2c88c use a wxCharBuffer instead of malloc/free for pango underline workaround
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 05:58:07 +00:00
Paul Cornett
d254213eb2 add MutexGuiEnter/Leave to wxAppTraits, integrate native GTK+ GUI locking
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 05:37:00 +00:00
Paul Cornett
4eccf53dd5 Make sizing logic clearer, at the expense of a few duplicated lines.
Use NULL for pointer parameter instead of None.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 01:57:14 +00:00
Robert Roebling
69fdd54eeb Disable any refresh in backing window (set_back_pixmap( None ..) makes it transparent
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 23:53:09 +00:00
Robert Roebling
818e5f4f58 use const char* in XPMs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 23:51:36 +00:00
Robert Roebling
a6aaf49fc5 Fix resizing prob
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 22:22:36 +00:00
Chris Elliott
243ef54b39 fix bug VC6 with returning void function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 20:10:17 +00:00
Václav Slavík
16b0811668 fixed wxGTK1's wxDialog::ShowModal() to use GetParentForModalDialog()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 18:15:43 +00:00
Václav Slavík
71d1d0e2e6 fixed wxUniv's wxDialog::ShowModal() to use GetParentForModalDialog()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 18:14:30 +00:00
Václav Slavík
82452a17ff convert wxImage's mask into alpha channel in wxDFB's wxBitmap for now, until full wxMask support is implemented
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 18:10:48 +00:00
Stefan Csomor
ee223f807b fixing string param
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 16:59:24 +00:00
Stefan Csomor
99c13b276a different CoreText font caches for Robin's tests
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 16:48:07 +00:00
Robert Roebling
74dea0decf Implemented (for GTK+) and tested dataview_context_menu event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 15:16:52 +00:00
Robert Roebling
6af3eec222 Add dataview context menu event definitions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 14:48:13 +00:00
Robert Roebling
63779a3de1 Patches-1851591 ] dataview sample is crashing (under MSW)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 14:42:32 +00:00
Robert Roebling
1218de17f5 enable dataviewctrl by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 14:25:25 +00:00
Robert Roebling
ab70c3bb5c probably fixed blit crash in X11
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50742 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 13:54:05 +00:00
Robert Roebling
c21c8158e9 Remove old/new DC test code (3000th commit - and still typing)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50741 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 13:53:07 +00:00
Michael Wetherell
2e452c4576 Add a couple of builds to test out native Windows builds.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-16 10:20:58 +00:00
Vadim Zeitlin
beff65bff5 wx/animdecod.h must be in common headers, not advanced ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 23:21:43 +00:00
Vadim Zeitlin
7776d70e7f undid incorrect replacement of WXDLLEXPORT with WXDLLIMPEXP_ADV, wxAnimationDecoder is a core class (because it's the base class for wxANIDecoder which is itself in core because it's used by wxBitmap); remove unnecessary dtor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 23:16:56 +00:00
Vadim Zeitlin
804eeca5d5 don't misinterpret the time after the date as a weekday (patch 1836708)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 21:03:21 +00:00
Vadim Zeitlin
3f0640b0a8 fix unused parameter warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50731 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 20:20:16 +00:00
Vadim Zeitlin
f1f7d5ca4b fixed another invalid cast
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 18:40:15 +00:00
Vadim Zeitlin
faa9a600f4 fixed invalid cast of wxWindowDCImpl to wxDC in DoGetPixel()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50729 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 18:26:05 +00:00
Vadim Zeitlin
10d302224e fixed wxGTK1 compilation after wxDC changes (still doesn't work)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50728 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 18:20:59 +00:00
Vadim Zeitlin
8f884a0dcc Fix Ok/IsOk() mess in wxGDIObject-derived classes; also added
wxGDIObject::Create/CloneGDIRefData() and implemented them for (almost) all
ports


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 17:54:20 +00:00
Vadim Zeitlin
d6906a06a2 fix gcc warning about possibly uninitialized variables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50726 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 17:50:44 +00:00
Vadim Zeitlin
05be97a866 fix signed/unsigned comparison warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 17:50:02 +00:00
Michael Wetherell
7834553566 td162 is down so try td163.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 15:54:18 +00:00
Vadim Zeitlin
6184558583 wxMotif should use wxX11 wxPalette instead of duplicating it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 15:48:29 +00:00
Vadim Zeitlin
fd2c499478 removed empty file which wasn't present in the makefiles anyhow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 14:40:21 +00:00
Vadim Zeitlin
f95b06a67c fix X11 build after wxDC changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 14:07:32 +00:00
Vadim Zeitlin
b733a0174a fix unused variables and parameters warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 13:59:54 +00:00
Vadim Zeitlin
46f3731f5a another unused parameter warning (plenty left in .mm files...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 13:55:08 +00:00
Vadim Zeitlin
2d80da5f25 fix unused parameters warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 13:52:58 +00:00
Václav Slavík
f944aec0cf removed SetVirtualSizeHints() and related code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50717 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 12:07:32 +00:00
Václav Slavík
cc8953a695 fixed generating of makefiles that don't include common.bkl and so didn't have IS_MSVC_PRJ defined
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 11:20:59 +00:00
Paul Cornett
22e43568b1 build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50714 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 06:27:20 +00:00
Robin Dunn
7e0c58e92c Update Scintilla to version 1.75
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 04:07:00 +00:00
Vadim Zeitlin
c95e653ca4 don't modify the output variable if ToXXX() fails to convert (modified patch 1849041)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50710 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 02:45:24 +00:00
Vadim Zeitlin
0c13edfa01 Spanish translation updates from MiguelSky
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50708 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 02:37:41 +00:00
Vadim Zeitlin
9f4905aeef compilation fix + comment about bogus memory leak (patch 1849988)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50707 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 02:30:48 +00:00
Vadim Zeitlin
8b2e0c3ad6 correct wxFooEventHandler name (patch 1851026)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 02:23:05 +00:00
Vadim Zeitlin
e2fc40b478 PalmOS 6 compilation fixes (patch 1849757)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 01:25:56 +00:00
Vadim Zeitlin
7379e47609 rebaked everything, fixes problems with OpenGL samples makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 00:25:59 +00:00