Commit Graph

36572 Commits

Author SHA1 Message Date
Robin Dunn
37840b8bc1 updates from Andrea, plus some fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 19:37:16 +00:00
Julian Smart
f6fc052ae5 SetSelection(wxNOT_FOUND) now works correctly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42081 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 18:21:05 +00:00
Julian Smart
f17e0ebd63 Fixed assert when moving out of a menu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42080 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 17:18:57 +00:00
Julian Smart
daad5a23b7 Support wxDF_UNICODETEXT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42079 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 17:16:53 +00:00
Julian Smart
ffd73a2c76 Draw tool transparently if we have a mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 16:57:03 +00:00
Włodzimierz Skiba
1b88201ff5 Headers cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42077 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:44:52 +00:00
Julian Smart
082cfe55b9 Added various list commands to demonstrate new list features.
Now uses wxRichTextStyleListCtrl giving a choice of style types to display.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:12:03 +00:00
Julian Smart
38f833b10c Added list style to text attributes, independent from paragraph style
Added list style definition
Added SetListStyle, ClearListStyle, NumberList, PromoteList to
buffer and control classes
Changed style listbox so double-click applies style instead of
single click. This allows for multiple items to be applicable,
and also in future to edit styles from this listbox without
accidentally applying the style to content.
Added wxRichTextStyleListCtrl which also shows a wxChoice for
selecting the type of style to display.
Style sheets can form a chain to allow inheritance from current
style sheet (not yet supported by style list controls).
Added PushStyleSheet/PopStyleSheet.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42075 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 14:09:14 +00:00
Stefan Csomor
daca43d847 fixing coordinate conversions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42074 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 09:27:46 +00:00
Paul Cornett
edba2de33e remove assert from PurgeOtherRepresentations,we'll have to trust that callers know what they're doing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 05:50:10 +00:00
Paul Cornett
fd7a7443bc use common AllocExclusive, rather than custom code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 04:20:47 +00:00
Paul Cornett
e3e89a9370 implement {Create,Clone}RefData for gtk wxBitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 03:19:20 +00:00
Paul Cornett
93c5f7558e add public wxObject::UnShare
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42070 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 03:18:28 +00:00
Robin Dunn
c78a1b7649 Patch #1576397, fix to properly render months that start on a Sunday
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-17 00:15:33 +00:00
Robin Dunn
2c7816ffd1 Show the AlphaDrawing sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 21:55:41 +00:00
Robin Dunn
9b9401385f reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42067 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 21:53:14 +00:00
Robin Dunn
a0fd79ba38 docstring fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 21:52:41 +00:00
Robert Roebling
0a82ca5b33 Correct wxComboBox height in wxToolbar for old
GtkCombo-based implementation.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 21:44:22 +00:00
Robin Dunn
52e22a61ce Compile fix: forward decalare wxFloatingPane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42064 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:56:58 +00:00
Robert Roebling
1ed6bbc207 Fix wxMiniFrame caption height.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42063 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:55:59 +00:00
Robert Roebling
bc429ce01f [ 1578466 ] Support for custom floating panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42062 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:36:11 +00:00
Robert Roebling
fa96a36ecf [ 1578468 ] full support for "destroy on close" flag
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42061 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:27:37 +00:00
Robin Dunn
73703a8063 reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:26:02 +00:00
Robin Dunn
5f2502393e use the right number in the tarball filename
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:25:14 +00:00
Robin Dunn
a49b2d272a put the gdiplus.dll with the wx DLLs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:24:24 +00:00
Robin Dunn
41c4b3ef21 use wx.GCDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42057 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 20:22:33 +00:00
Robin Dunn
e2e0b76a95 Destroy the FileDialog when finished with it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 19:50:21 +00:00
Robin Dunn
f9c1b462c7 Add a utility function that can calculate word-wrap line breaks, and
use it in the AboutBox demo.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42055 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 19:49:43 +00:00
Robin Dunn
d1cf7e2aa4 Don't make a property out of GetEnableEffects, it hides the
EnableEffects method


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:27:03 +00:00
Robin Dunn
cd46ad2be4 Call wxRichTextModuleInit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:25:43 +00:00
Robert Roebling
4a10e43b27 Made wxWindow::Update() a little clearer.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:16:49 +00:00
Robin Dunn
c18fa7a4b6 Merge new item attributes if any are already existing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:13:55 +00:00
Robin Dunn
f1d6804f7c Add wxRichTextModuleInit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 18:12:17 +00:00
Włodzimierz Skiba
e8a8d0dc2d [#1577388] - fix for scaling in wxImage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 13:26:08 +00:00
Włodzimierz Skiba
59185e297d Added test for scaling and bluring wxImage.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42048 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 13:22:13 +00:00
Włodzimierz Skiba
8d0ca2928b Allow building without calendar.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42047 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 12:37:29 +00:00
Włodzimierz Skiba
1c4e8f384d CVS tags cleaning (with other minor cleaning).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 09:30:01 +00:00
Włodzimierz Skiba
008a265578 Fix for assert in 'dynarray.cpp' by Jaakko Salli.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42045 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-16 09:04:21 +00:00
Robert Roebling
d218e518d8 Readd gtk_widget_set_size_request() to prevent
-1,-1 from being allocated.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42044 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 20:21:23 +00:00
Robert Roebling
ecf3b4a57f Implement mnemnic support for wxToggleButton.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 20:12:41 +00:00
Paul Cornett
e47c778924 remove gtk_pizza_expose, its purpose is easily accomplished from existing expose-event handler in window.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:59:31 +00:00
Robert Roebling
e60022505d I don't think anylonger that DrawHeaderButton() should
be used for drawing grid row/col buttons. Also, the
   GTK2 port should not waste space per line of wxMSW
   doesn' waste it neither.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:44:39 +00:00
Robert Roebling
34445cc76d Left unused variable around.
Adjust window placement in the correct direction
    in RTL. This corrects in-place editing in wxGrid.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:18:48 +00:00
Robert Roebling
55dc8e189d Use widget->allocation instead of querying the
window size with a gdk_  call.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:13:18 +00:00
Robert Roebling
1e89eecdc2 Do not remove GDK events for native GTK+ controls.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 19:11:19 +00:00
Robert Roebling
9c862cfb93 [ 1577675 ] Fix for GTK warnings in wxNotebook::DoRemovePage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:44:33 +00:00
Paul Cornett
9fd707a51f non-pch build fix, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42036 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:05:25 +00:00
Paul Cornett
ad0023978e non-pch build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:04:23 +00:00
Paul Cornett
fc964c0d23 probable typo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 18:03:36 +00:00
Mattia Barbon
9fd8f2dd3d Fix setting the clipping region for a DC when the region is an
actual wxRegion.
  Fix some positioning/sizing bugs, mosting affecting controls
inside scrolled windows.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 15:51:35 +00:00