Vadim Zeitlin
021e69e5b0
fix unused parameters warnings ( #9529 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@54511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-07-06 14:14:49 +00:00
Vadim Zeitlin
26a52b47a1
fix unused parameter warning (ticket #9529 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@53961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-03 12:42:13 +00:00
Václav Slavík
7f427f9cc2
fixed wxBitmapButton to use focus and hover bitmaps correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 19:57:54 +00:00
Vadim Zeitlin
3fc67306a4
implement wxListBox::EnsureVisible() in wxGTK; add a test for it to the widgets sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 16:03:23 +00:00
Vadim Zeitlin
802bde46ad
fix unused parameter warning inside FILEDIRBTN_OVERRIDES
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-25 13:12:53 +00:00
Julian Smart
fb9c1ff9cb
Binary compatible API fixes for menu label retrieval with and without
...
mnemonics/accelerators.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48053 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-13 17:07:01 +00:00
Vadim Zeitlin
d88636da66
use WXDLLIMPEXP_GL instead of WXDLLEXPORT (which is for core, not gl)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47196 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 15:43:06 +00:00
Michael Wetherell
bcfabaa871
Fix missing exports.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47188 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-06 07:44:19 +00:00
Julian Smart
909fa782a9
Prevent seg fault for older GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@47024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 16:59:23 +00:00
Robert Roebling
9ac12a7a79
Also fix landscape printing under GNOME print.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@46088 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-17 10:51:34 +00:00
Vadim Zeitlin
e9528e32da
compilation fixes for wxUSE_WCHAR_T==0 (this is the case for DJGPP which is used for wxMGL compilation)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45893 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-08 20:05:16 +00:00
Robin Dunn
69d4bbb974
Added wxToolBar::SetTool[Normal|Disabled]Bitmap for wxMSW, wxGTK and wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@44317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-25 23:35:07 +00:00
Vadim Zeitlin
870cf35c45
replaced size_t with unsigned int in wxAnimation and related classes and a couple of minor cleanups (use C++ comments; wrap long lines; put private parts after the public ones)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43898 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-10 14:18:37 +00:00
Paul Cornett
67461bd124
rename RemoveIdleSource to SuspendIdleCallback
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43879 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 17:46:20 +00:00
Vadim Zeitlin
73b30256a0
default name of wxStaticLine should be wxStaticLineNameStr, not wxStaticTextNameStr
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43874 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 14:52:59 +00:00
Paul Cornett
5a3ef19432
fix for SetPosition/SetInsertionPoint when called during Freeze
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-09 06:21:15 +00:00
Paul Cornett
bc48a5d75e
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 07:22:55 +00:00
Paul Cornett
2c685efab1
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43846 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:50:54 +00:00
Paul Cornett
3498362ed5
correct access for virtuals
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-07 05:44:44 +00:00
Vadim Zeitlin
927637fdaf
allow dynamically changing most of text control styles in wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 12:39:52 +00:00
Vadim Zeitlin
403e664e5b
removed empty and unused CalculateScrollbar() method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:39:27 +00:00
Vadim Zeitlin
9ec927f89b
ensure that scroll position is always in scrolling range, otherwise we could have a window without scrollbars at all but with non zero scroll offset which was really strange
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-04 11:05:59 +00:00
Vadim Zeitlin
364663aa72
replaced the button suppressing the assert dialog with a checkbox (a slightly modified patch from Francesco Montorsi)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43766 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-03 16:15:01 +00:00
Robert Roebling
30c4dd918a
Commit FM's GTK+ native assert dialog code.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:50:20 +00:00
Robert Roebling
92120c6e89
Override SetLogicalOrigin and SetDeviceOrigin in GNOME
...
print DC as this will probably be needed to fix the
printing bug reported recently.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-24 10:48:56 +00:00
Vadim Zeitlin
1f91072fc8
handlers added using AddHandler() last must have the highest priority (patch 1522807)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-07-25 00:33:14 +00:00
Robert Roebling
1bd2ceb57b
[ 1598659 ] make wxAnimationCtrl::SetInactiveBitmap center given bitmap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 17:46:29 +00:00
Robert Roebling
649707a506
Hopefully fixed misplaced printout in libgnomeprint.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-18 00:08:52 +00:00
Vadim Zeitlin
1afdfc9deb
- fix wxAnimationCtrl::SetBackgroundColour both for generic and native GTK
...
version
- fix wxAnimationCtrl::GetAnimation for GTK version (modifying correctly the
constructor which takes a GdkPixbufAnimation)
- fix the generic wxAnimationCtrl::SetAnimation() when it's used with a
wxNullAnimation.
- moves the frame counter reset in Stop() as it's more sensed to always have
m_currentFrame cleared immediately when the animation has been stopped
- fix a problem with transparent bitmaps drawing in wxAnimationCtrl::OnPaint
(part of patch 1598005)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-17 18:14:42 +00:00
Robin Dunn
037c7b4c7b
Some wxCollapsiblePane tweaks:
...
- Use wxCP_DEFAULT_STYLE
- Share a single wxCollapsiblePaneNameStr for the native and generic
versions
- Use a wxPanel for the pane so tab traversal works in the pane
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 07:32:08 +00:00
Vadim Zeitlin
0643d43cad
move WX_GL_XXX constants from wx/*/glcanvas.h to wx/glcanvas.h (this makes them available for wxCocoa too); also only include <windows.h> via wx/msw/wrapwin.h and not directly for wxMSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-06 00:57:46 +00:00
Vadim Zeitlin
3c6fa82663
moved wxCollapsiblePane to core from adv
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 20:03:48 +00:00
Robert Roebling
c98826242f
Reorder event things a little.
...
Two callbacks for page change and page changing.
use signal_connect_after() for page changed event,
as everywhere else, this should also make it
possible to select a different page in the
event handler.
GetSelection just uses native call.
Don't use m_skipEvent flag, disconnect from events.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-04 18:29:28 +00:00
Vadim Zeitlin
305329c2f1
use wxNullFont instead of *wxNORMAL_FONT as default parameter for wxFontPickerCtrl/Widget, this fixes compilation with gcc 2.95 and possibly other old compilers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-03 21:54:13 +00:00
Julian Smart
bcf881efa9
Moving GTK+-specfic function - it shouldn't be in public headers
...
because it then becomes impossible to include in app without adding
further include paths
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-02 09:51:49 +00:00
Robert Roebling
b94db696c2
Make wxDataViewCtrl compile and work in ANSI mode.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 15:24:48 +00:00
Stefan Neis
459f812bad
Generalized compilation fix for old compilers.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-01 01:16:01 +00:00
Robert Roebling
ac7d3dd157
Commited region iterator fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-31 22:48:38 +00:00
Vadim Zeitlin
fea35690f1
Added wxMemoryDC::SelectObjectAsSource() and make SelectObject() unshare
...
the bitmap to ensure that no other bitmaps are modified; also remove some code
duplication by introducing wxMemoryDCBase (patch 1580745)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:41:46 +00:00
Vadim Zeitlin
55ccdb93e4
COW cleanup patch (1583966):
...
1. perform deep comparison for the classes for which it makes sense in the
ports where this wasn't done yet
2. remove (shallow) comparison operators for the classes for which it does
not make sense (such as wxBitmap)
3. makes wxBitmap use COW on all ports
4. adds wxObject::IsRefTo()
5. centralizes and improves COW docs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:26:48 +00:00
Vadim Zeitlin
c63312c472
GetCurrentSelection() was documented but not present in all ports (just MSW and GTK); moved it to the base classes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 16:04:27 +00:00
Robert Roebling
cda5834e9d
Moved overridden SetMinSize() to base class.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42719 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 13:25:00 +00:00
Robert Roebling
a1b05a60e1
Make SetMinSize() and SetMaxSize() virtual so they
...
can be overridden in wxTLW to set WM hints.
Actually did that for wxGTK, nothing required for
wxMSW, no idea about wxMac.
Documented this in tlw.tex.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 13:18:35 +00:00
Stefan Neis
4a4bf7eefb
Compilation fix for old GCC versions.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 08:07:51 +00:00
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