Vadim Zeitlin
|
cc209a518f
|
check that string passed to FromUTF8() is valid even in release build, this is safer; add a separate FromUTF8Unchecked() which can be used for maximal efficiency
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-19 19:59:59 +00:00 |
|
Robert Roebling
|
937fc7dbea
|
Tried to make wxListBox::Update() work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-07-02 08:15:28 +00:00 |
|
Vadim Zeitlin
|
bc735a68b1
|
declare future-deprecated SetStyle(int) in wxPen/Brush and not wxPen/BrushBase as it's useless there (compilation of user code doing pen.SetStyle(wxDOT) still fails)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54273 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-17 17:28:26 +00:00 |
|
Robert Roebling
|
3f16e52c13
|
Ticket #9592: gtk-choice-setcolumns.2.diff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54266 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-16 13:32:43 +00:00 |
|
Robert Roebling
|
c2193ac911
|
#4479: wx.ComboBox needs a SetFont method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-12 12:16:42 +00:00 |
|
Paul Cornett
|
e2147e6d3c
|
simplify menu item callbacks by passing in wxMenuItem instead of wxMenu
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-11 17:07:07 +00:00 |
|
Paul Cornett
|
1deef99727
|
wxMenuItem code cleanup, removing duplicate and unneccessary code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54065 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-10 03:54:43 +00:00 |
|
Vadim Zeitlin
|
fdaad94e75
|
deprecate wxDC::SetClippingRegion(wxRegion) overload and replace it with SetDeviceClippingRegion() to avoid confusion due to use of different kind of coordinates in this and other overloads of the same function; also rename wxDCImpl::DoSetClippingRegionAsRegion() to DoSetDeviceClippingRegion(); finally use bounding box of the region passed to wxDCClipper ctor to avoid interpreting coordinates differently for different ctors of the same class (see #8970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-08 01:45:56 +00:00 |
|
Robert Roebling
|
92159e3d76
|
Separate label with wx mnemonics (&) and with gtk mnemonics (_) into m_text and m_gtkText, fixes #4409
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53958 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-06-02 21:46:29 +00:00 |
|
Paul Cornett
|
aac7dbf3aa
|
remove unused/unneeded menuitem cruft
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53811 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-05-29 04:41:37 +00:00 |
|
Paul Cornett
|
9a2183c900
|
remove obsolete file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-05-29 04:27:00 +00:00 |
|
Paul Cornett
|
efebabb7ff
|
mark long-deprecated ctor as such
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-05-29 04:26:29 +00:00 |
|
Robert Roebling
|
e78c1d7855
|
Native wxBitmapComboBox patch for GTK+
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53779 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-05-27 10:17:56 +00:00 |
|
Robert Roebling
|
05d790f834
|
Move event generation code for multiple selection mode to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-05-23 10:12:50 +00:00 |
|
Robert Roebling
|
1e6ffd6691
|
Remove m_blockEvents and use Disable/Enable instead, some more rearraging
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53706 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-05-22 20:53:10 +00:00 |
|
Vadim Zeitlin
|
0662f99096
|
add back wxChoice::DoGetBestSize() removed by the previous refactoring, it's still needed (#9150)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53698 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-05-22 00:55:59 +00:00 |
|
Robert Roebling
|
19723525ce
|
Added InsertColumn( pos, col ), some reformating
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-05-21 08:47:21 +00:00 |
|
Vadim Zeitlin
|
a2c9411060
|
use GtkComboBox instead of deprecated GtkOptionMenu for wxChoice; this also allows to derive wxComboBox from wxChoice in wxGTK as in wxMSW (ticket #9150)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-05-18 17:26:28 +00:00 |
|
Vadim Zeitlin
|
462167a9f7
|
allow loading wxAnimationCtrl contents from stream (patch 1962344)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-05-17 22:51:52 +00:00 |
|
Robert Roebling
|
0b822969a6
|
Added new wxGraphicsContext:Create( wxPrinterDC ) instead of wxDC:CreateGraphicsContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-04-28 20:39:57 +00:00 |
|
Robert Roebling
|
2b44ffc0e7
|
Added wxDC::CreateGraphicsContext and implemented it for a few DCs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53344 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-04-25 11:05:16 +00:00 |
|
Paul Cornett
|
fce611e426
|
restore caching of WM frame extents
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-04-23 17:05:47 +00:00 |
|
Robert Roebling
|
7b0ccb8a60
|
[ 1936700 ] wxCAL_SHOW_WEEK_NUMBERS, slightly modified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53247 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-04-17 15:31:50 +00:00 |
|
Robert Roebling
|
419a360703
|
Corrected/added support for column headers with icon and text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-04-12 20:07:53 +00:00 |
|
Robert Roebling
|
f2b7492a88
|
By default, align renderers as column header under GTK+, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53087 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-04-08 10:39:57 +00:00 |
|
Vadim Zeitlin
|
87e024f7d5
|
delay setting the window shape until it is realized (slightly modified patch 1935497)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-04-06 16:14:49 +00:00 |
|
Robert Roebling
|
0bdfa38835
|
Support renderer::LeftClick() in generic code, removed unsupported RightClick(), corrected docs, added test to sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53020 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-04-05 12:09:15 +00:00 |
|
Francesco Montorsi
|
231b9591aa
|
add more pure virtuals to wxBrushBase; fix the GetColour() functions to return a wxColour object and not a reference; remove from docs the non-existent SetColour(const wxString&) overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-28 16:47:58 +00:00 |
|
Vadim Zeitlin
|
628e155d8c
|
added native GTK implementation of wxCalendarCtrl (modified patch 1925439)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-28 02:47:12 +00:00 |
|
Francesco Montorsi
|
53a2db124c
|
substitute WXDLLEXPORT with WXDLLIMPEXP_CORE and WXDLLEXPORT_DATA with WXDLLIMPEXP_DATA_CORE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-26 15:06:00 +00:00 |
|
Francesco Montorsi
|
e86f2cc84a
|
reorganized wxBitmap/wxBitmapHandler classes to use wxBitmapType instead of "long" where possible; made them const-correct; introduce wxBITMAP_SCREEN_DEPTH instead of -1 for clearness (specially in the docs); remove wxBitmapHandler empty stubs and rename wxBitmapHandlerBase as wxBitmapHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-25 20:31:48 +00:00 |
|
Vadim Zeitlin
|
fcda20eb04
|
suppress warnings about hiding virtual functions in wxURLDataObject
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-23 15:57:47 +00:00 |
|
Francesco Montorsi
|
70f9d2bef3
|
add the wxAnimation's ctor which automatically loads a file: it was documented but not present in the actual code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-20 22:33:57 +00:00 |
|
Francesco Montorsi
|
ac3688c0d8
|
make the Pen/Brush code backward compatible as discussed on wx-dev; marked the blocks of code to deprecate in future with FUTURE_WXWIN_COMPATIBILITY_3_0; add wxCHECK_MSG in all ports to block Get*() calls on invalid objects (as already is for all other refcounted objects and for most ports)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-20 15:08:51 +00:00 |
|
Paul Cornett
|
60854f1ae2
|
revert removal of wxBU_AUTODRAW, now that it is again available with WXWIN_COMPATIBILITY_2_8==0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-18 16:25:48 +00:00 |
|
Vadim Zeitlin
|
8cd6a9ad50
|
added wxSpinCtrlDouble (slightly modified patch 1835864)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-18 14:04:19 +00:00 |
|
Paul Cornett
|
edd6813c82
|
remove duplicate wxTaskBarIconAreaBase::DoPopupMenu, extracting the one-line difference into a new virtual
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-18 04:06:50 +00:00 |
|
Paul Cornett
|
3ed946f283
|
simplify wxEVT_MENU_OPEN/CLOSE generation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52603 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-18 03:01:30 +00:00 |
|
Paul Cornett
|
04ee05f92a
|
fix a huge number of build errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-17 18:26:00 +00:00 |
|
Francesco Montorsi
|
82cddbd97a
|
fix also wxPen to use wxPenStyle,wxPenJoin,wxPenCap enums instead of plain int; remove from wxBrushStyle the styles wxPen-specific; add backward-compatible ctor to wxPen; don't include brush.h and pen.h from gdicmn.h, rather move wxPenList,wxBrushList,wxFontList in the relative headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-16 21:11:12 +00:00 |
|
Francesco Montorsi
|
3e6858cdcb
|
introduce wxBrushStyle enum and replace 'int style' occurrences in wxBrush code with 'wxBrushStyle style'; the change is backward compatible and documented in changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-16 16:47:57 +00:00 |
|
Václav Slavík
|
bd2e08d065
|
simplified and cleaned up wxGTK's focus handling
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-14 01:10:43 +00:00 |
|
Vadim Zeitlin
|
2c20f44d70
|
remove wxFindFocusedChild() declaration too as g++ gets upset if an extern function is redefined as static
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-05 23:12:13 +00:00 |
|
Václav Slavík
|
5f346ddc0a
|
implemented Freeze/Thaw in wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-04 10:03:01 +00:00 |
|
Vadim Zeitlin
|
8ce68f7fc0
|
add support for custom controls in file dialog in wxGTK and generic versions; also allow using generic dialogs in the sample with wxGTK2 (patch 1846837)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-02 14:33:47 +00:00 |
|
Robert Roebling
|
d613be55db
|
Implemented wxURLDataObject for wxGTK using text/x-moz-url
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52219 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-03-01 17:22:31 +00:00 |
|
Paul Cornett
|
593354ca47
|
revert updating GTK size hints when window decorations change, it messes up min size set by a sizer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-28 06:34:43 +00:00 |
|
Vadim Zeitlin
|
c50c6fb23b
|
add SetNativeTheme() (slightly modified patch 1884553)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-27 17:46:14 +00:00 |
|
Paul Cornett
|
81b0235f13
|
update GTK size hints when window decorations change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-26 06:14:32 +00:00 |
|
Václav Slavík
|
6fba6c78a4
|
fixed wxBitmapButton to use focus and hover bitmaps correctly; also fixed tons of misnomers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
|
2008-02-22 19:59:36 +00:00 |
|