Robert Roebling
9a1498b6ea
Let wxMiniFrame have the same default flags under wxGTK
...
as under wxMSW, notably no close box by default.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 20:15:26 +00:00
Robert Roebling
9379c0d752
Make wxWindow::SetSizeHints() do nothing.
...
Make wxTLW::SetSizeHints() set the various m_minWidth etc. fields.
Override SetSizeHints() in wxGTK to call the relevant gtk funcion
only there and not in every resize.
Make GetMinWidth() etc. non-virtual.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 19:17:00 +00:00
Robert Roebling
2ac9bfa9b0
Use wxRound instead of wxCoordRound
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:50:39 +00:00
Julian Smart
6445acc783
Applied patch 1586499: wxCoordRound function
...
Centralises rounding and adds nearest-value rounding to
prntbase.cpp.
by Robert J. Lang
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 17:01:34 +00:00
Stefan Csomor
d888a332db
GetAsBitmap with subrect
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42612 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-29 10:46:49 +00:00
Robert Roebling
0d635035cc
Add EnableCloseButton() as wxMSW does. Use it in
...
wxProgressDialog so that without wxPD_CAN_ABORT
you cannot close the dialog.
Closes [ 1585563 ] wxProgressDialog @ GTK CloseButton
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 08:18:26 +00:00
Robert Roebling
470402b996
Rewrite selection event code for wxListBox.
...
Remove ifdef for non-native wxCheckListBox.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-26 20:29:02 +00:00
Robert Roebling
3811dacb39
Prevent accession of to-be-deleted mdi
...
child window.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 17:51:28 +00:00
Włodzimierz Skiba
93076559ba
ADV export fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 06:47:14 +00:00
Paul Cornett
4c44e0d048
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42351 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:44:26 +00:00
Julian Smart
459dbfc0f1
Compile fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42349 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:32:08 +00:00
Julian Smart
147bf2639f
Added creation of printer DC to printer factory.
...
Added wxPrintData ctor to wxGnomePrintDC.
Added wxGnomePrintPreview.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 15:41:39 +00:00
Vadim Zeitlin
3c1f8cb1f5
initial draft of wxCollapsiblePane (patch 1577412 by Francesco)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 22:28:37 +00:00
Robert Roebling
8e458bb539
[ 1580776 ] wxAnimationCtrl::SetInactiveBitmap
...
Additionally call UnShare() in it.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42195 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-21 13:51:38 +00:00
Paul Cornett
91641d0443
Remove unnecessary size members from GtkPizzaChild.
...
Move some declarations out of header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42143 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-20 05:47:15 +00:00
Vadim Zeitlin
b098b62129
extracted wxGtkString in a separate file, it's also needed by wxX11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42120 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-19 14:42:01 +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
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
af05af4d87
store GtkPizza border width in GtkContainer.border_width, eliminate GtkPizza.shadow_type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42027 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-15 07:01:36 +00:00
Paul Cornett
50679f941e
correct access for virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42014 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 16:50:04 +00:00
Robert Roebling
db71eb0640
Better place for coordinate mirroring and removal
...
of stupid hack.
This makes the positioning correct in the end but
leaves window hopping when resizing unsolved
in RTL mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-14 07:06:50 +00:00
Robin Dunn
432efcb004
wxMemoryDC constructor now optionally accepts a wxBitmap parameter,
...
calling SelectObject itself if a valid bitmap is passed.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41989 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 18:48:36 +00:00
Robert Roebling
eda276b092
Remove method GetWindow() returning a GdkWindow*
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-13 09:16:22 +00:00
Robin Dunn
f98bd6d6cf
Fixup Blit so it can be used with a source that is a wxBufferedDC,
...
since wxBufferedDC doesn't derive from wxMemoryDC any more.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-12 06:23:52 +00:00
Robert Roebling
05a98b6d5d
Fix part of [ 1570325 ] wxAnimationCtrl for wxAdv library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 16:09:39 +00:00
Paul Cornett
a4adcc439d
correct DLL attribute
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 07:11:26 +00:00
Paul Cornett
c2f12218ce
wxAnimationCtrl cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41852 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 04:27:54 +00:00
Vadim Zeitlin
72045d5768
added wxAnimationCtrl (patch 1570325)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 17:51:07 +00:00
Vadim Zeitlin
2e992e06a7
added wxWindow::IsDoubleBuffered() and improve wxBufferedDC (patch 1565330)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41810 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:39:34 +00:00
Vadim Zeitlin
ee2ec18e88
moved DoSetValue() to wxTextCtrlBase instead of having it in almost, but not quite all, derived classes; linking fixes for wxCocoa/wxX11/wxMotif
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 22:40:14 +00:00
Vadim Zeitlin
b7cacb43db
add IsOk() to all classes having Ok() method (patch 1570985)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 21:56:55 +00:00
Vadim Zeitlin
28fdd8db44
added wxTextCtrl::IsEmpty()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41740 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:52:39 +00:00
Vadim Zeitlin
f6519b40fe
added wxTextCtrl::ChangeValue() which is the same as SetValue() but doesn't send the text changed event (first part of patch 1553551)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41739 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:46:12 +00:00
Vadim Zeitlin
1d6fcbcc70
added wxBookCtrl::ChangeSelection() which is the same as SetSelection() but doesn't send the page change events (second part of patch 1553551)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 17:37:23 +00:00
Paul Cornett
452418c4b0
Move some things to wxBitmapBase to avoid much duplication.
...
Use proper const for XPM data, and const void* for arbitary bitmap data.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41689 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 08:04:49 +00:00
Paul Cornett
2365667381
some cleanup, and plug a few small holes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41675 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-07 18:32:11 +00:00
Robert Roebling
4846890010
Return toolbars "own" GdkWindow, required among
...
others for mouse event reporting.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 21:49:10 +00:00
Robert Roebling
31fb32e137
Implemended column header mouse clicks.
...
Ascending/descending sorting.
Setting the little arrow indicator for ascending
and desceding sorting.
Generic stubs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-06 09:50:45 +00:00
Robert Roebling
47cef10f28
Added sort order and alignement for column headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41641 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:35:23 +00:00
Robert Roebling
07a84e7bbb
Add support for bitmaps in headers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41639 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-05 19:06:21 +00:00
Robert Roebling
fc211fe5ce
More selection work in GTK+ version.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 17:28:19 +00:00
Stefan Csomor
dc8883366b
adding alpha to gtk colour
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41598 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 16:45:33 +00:00
Robert Roebling
baa9ebc473
Renamed wxDataViewCell to wxDataViewRenderer since the
...
class just renders the cell, it doesn't represent one.
Maybe wxDataViewCellRenderer would be best...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41596 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 15:24:03 +00:00
Robert Roebling
6ff7eee7ea
Added selection API.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:39:08 +00:00
Robert Roebling
0a71f9e92f
Replaces size_t with unsigned int in wxDataViewCtrl API.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 11:09:06 +00:00
Robert Roebling
008b5a66f7
Removed some irritating flags.
...
Implmented the remaining ones under GTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-01 21:09:56 +00:00
Robert Roebling
cbc9145c04
Added wxDataViewBitmapCell
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41473 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-26 22:17:00 +00:00
Vadim Zeitlin
8a16d7370e
The Great wxRegion Refactoring:
...
1. added wxRegionBase class and derive all wxRegions from it
2. also added wxRegionWithCombine for the ports providing Combine() method
(MSW, OS2 and Mac) to reduce code duplication further
3. made sure region comparison works the same way in all ports (except those
not implementing it) and added IsEqual() method
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 11:47:23 +00:00
Robert Roebling
bcb614b328
More RTL work. Now transform m_updateRegion and
...
do nothing special in IsExposed() since some
code may use m_updateRegion directly. Keep
untransformed version around for use with
GTK clipping in the DC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41277 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-18 14:29:16 +00:00