Commit Graph

1251 Commits

Author SHA1 Message Date
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
Václav Slavík
bbd92d1dbe moved win_gtk.h header to wx/gtk/private, it's for internal use only
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 13:24:05 +00:00
Vadim Zeitlin
0d29a4828e implement wxListBox::EnsureVisible() in wxGTK; add a test for it to the widgets sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 16:03:23 +00:00
Vadim Zeitlin
4db3720881 use generic file picker in wxFLP_SAVE case as the native one doesn't allow to select non-existent files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 23:30:47 +00:00
Václav Slavík
a9efc294a9 call Show(false) from ~wxDialog to call EndModal if the dialog is still modal consistently in all ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-05 19:13:26 +00:00
Paul Cornett
16487a6fde remove unused wxMenuBar::m_style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 02:43:48 +00:00
Paul Cornett
7f85af8223 Enable best size caching, remove unnecessary GetLabel() and SetForegroundColour(),
remove hack for non-left alignment, it does not seem to be needed anymore.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-02 21:33:51 +00:00
Paul Cornett
144ae5bbbf remove unnecessary m_glWidget, fix return types for realize and map callbacks
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 04:51:34 +00:00
Paul Cornett
d968078adb Remove unnecessary IsRadioButton().
Replace m_blockEvent with g_signal_handlers_block().
Remove wxRadioButton::DoGetBestSize(), it just calls the base.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 04:02:33 +00:00
Václav Slavík
7f35e5eeca prefix implementation methods of wxBitmapButton with 'GTK' to prevent shadowing of HasFocus
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51311 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 15:03:10 +00:00
Paul Cornett
428f841bd0 prevent explicitly set client size from being changed when frame extents become known
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-13 02:00:27 +00:00
Paul Cornett
8466fc74fa compute scrollbar widths in a more standard way, get rid of redundant m_hasScrolling member
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-10 17:48:33 +00:00
Paul Cornett
162e998c2f check for self-assignment in operator=
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51123 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-09 04:08:33 +00:00
Vadim Zeitlin
17808a7596 move Freeze() and Thaw() to wxWindowBase to ensure that they behave consistently (i.e. recursively, as described in the docs) in all ports; removed different duplications of freeze count from derived classes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51018 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 00:21:31 +00:00
Vadim Zeitlin
115be92b4f set resolution of print preview from print data (modified patch 1851381)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51010 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 22:21:04 +00:00
Robert Roebling
99c75ebc5e Patch from Hartwig and me for implementing reorderable dataview columns. Works on OS X and GTK+, breaks OS X a litte
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-26 18:30:56 +00:00
Vadim Zeitlin
9ef6890f0b added wxColourBase::Init() and use DEFINE_STD_WXCOLOUR_CONSTRUCTORS() in all ports now (patch 1851600)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50897 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 15:03:58 +00:00
Paul Cornett
901a462fd5 make access for virtuals match base
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 06:08:00 +00:00
Paul Cornett
18591d70d9 DC headers don't need to be in gtk/private.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 06:07:40 +00:00
Robert Roebling
33ba5a0562 Added wxDataViewListIndexModel::Reset(), clarified and corrected wxDataViewModel::Cleared(), corrected sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-17 13:56:28 +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
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