Commit Graph

23501 Commits

Author SHA1 Message Date
Robert Roebling
8b6cf9bf10 Added wxDataViewListIndexModel::RowsDeleted() and various related corrections
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 11:28:02 +00:00
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
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
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
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
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
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
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
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
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
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
fce127d758 wxMotif compilation fixes after wxDC changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 00:06:08 +00:00
Vadim Zeitlin
09294e12fb compilation fix after HandleWindowEvent() changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50700 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-14 23:56:07 +00:00
Vadim Zeitlin
5cd8b5b8ba another file which needs wx/thread.h inclusion now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-14 23:55:02 +00:00
Vadim Zeitlin
4a624f6ed3 fixed wxDFB compilation after wxDC-related changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-14 22:41:07 +00:00
Vadim Zeitlin
34075dba7c fixed unused parameter warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-14 22:35:23 +00:00
Stefan Csomor
fb4760547d making ref counting behavior consistent, activating QD variante for polygon region creation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-14 17:26:17 +00:00
Vadim Zeitlin
1ecd8ca468 compilation fix: need to include wx/thread.h now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-14 17:15:30 +00:00
Robin Dunn
c53c7fad2e Add a FIXME for a reminder...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50682 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-13 20:58:06 +00:00
Robin Dunn
0dd9b9e2be Applied patch [ 1845819 ] wxMSW Top level window freeze fix for trunk
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-13 20:56:15 +00:00
Vadim Zeitlin
e49d331c47 don't allow TAB-bing away to other TLWs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-13 19:10:04 +00:00
Václav Slavík
ea813d914f fixed test for toplevel windows to use IsTopLevel() instead of doing magic with flags
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-12 15:28:06 +00:00
Vadim Zeitlin
163b3ad72c replace wrong WXDLLEXPORT declarations with correct WXDLLIMPEXP_BASE/ADV/GL (patch from Tim Stahlhut)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-12 01:35:53 +00:00
Vadim Zeitlin
51cd351973 don't leak wxImageList if wxHF_CONTENTS is not used in wxHtmlHelpWindow
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-11 23:00:15 +00:00
Julian Smart
5879692fb9 Set the object for context menu events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50644 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-11 15:30:34 +00:00
Vadim Zeitlin
f99b00fabb hack: don't use wxCharTypeBuffer<char>::operator[]() as VC gives linking error for it for some reason
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-11 13:02:33 +00:00