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
Robin Dunn
5cfb6fee91
Make some wxDataViewCustomRenderer virtuals consistent across platforms.
...
Add missing WXDLLIMPEXP_ADV.
Add missing impl for wxDataViewEvent::GetPosition
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-17 21:00:06 +00:00
Vadim Zeitlin
03d4194d6b
implement wxSpinCtrl::Reparent() to properly reparent both the spin button and the text control part (slightly modified patch 1914190)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 04:10:43 +00:00
Vadim Zeitlin
dbf2bd150d
include wx/artprov.h to define wxArtID used in this header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-05 12:27:21 +00:00
Václav Slavík
1c8e5c51f8
made Freeze/Thaw recursively (un)freeze child windows too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-03 11:30:07 +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
Vadim Zeitlin
1edce33f7e
override SetDropTarget() in wxGrid to associate it with wxGridWindow as this is what things tend to be dropped on (patch 1903103)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-27 17:19:42 +00:00
Vadim Zeitlin
f954984155
check whether the grid is fully created in Refresh() (fixes a crash under Mac); refactored members initialization into a new InitVars() method to avoid duplication and ensure that they're always initialized (slightly modified patch 1901366)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-26 17:17:28 +00:00
Vadim Zeitlin
2fda1fe5fd
fix redundant storage of current date both in wxCalendarCtrl (which was itself redundantly stored as both wxDatePickerCtrl::m_cal and m_popup) and popup m_currentDate variable which resulted in multiple bugs, e.g. calendar didn't open at the current date value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51843 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 15:39:06 +00:00
Vadim Zeitlin
68b1c87866
make wxGenericCollapsiblePane a wxControlContainer to allow keyboard navigation to and inside it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 01:24:19 +00:00
Vadim Zeitlin
3fc69ebc38
wxFontData doesn't need to be static in wxGenericFontButton (unlike wxColourData in wxGenericColourButton where it was copied from) (patch 1883375)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-03 21:32:11 +00:00
Vadim Zeitlin
c058cafa56
don't use DECLARE_EVENT_TYPE() to avoid confusing people about its unused value parameter, declare the event type constants directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51405 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 13:21:39 +00:00
Vadim Zeitlin
75aea0d824
define (empty) SetIcon() method in wxGenericMDIChildFrame for compatibility with MSW implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51403 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-27 12:43:46 +00:00
Václav Slavík
760be3f7cb
wxGrid focus handling fixes:
...
- don't allow focus in helper labels subwindows
- draw selection in different colour when not focused
- hide cursor/highlight when not focused
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-21 17:11:49 +00:00
Paul Cornett
e45080c10b
make XPM data pointer parameter fully const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-14 18:16:37 +00:00
Robert Roebling
ad3867930c
Partial impl of auto resizing columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-14 11:04:57 +00:00
Vadim Zeitlin
695f550bfa
use wxFlexGridSizer for layout of the labels in the progress dialog (patch 1829312); minor cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51038 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-06 15:05:57 +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
001828ed69
compilation fix (remove default ctor already implemented by DEFINE_STD_WXCOLOUR_CONSTRUCTORS); make copy ctor inline and remove empty dtor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-05 00:04:34 +00:00
Julian Smart
3aa8e4ea6d
Added automatic dialog scrolling ability
...
Added ability to resize wizard bitmaps automatically
Made it easier to derive from wxWizard and override behaviour,
mainly by making members protected instead of private
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-29 16:35:39 +00:00
Robert Roebling
fc8c1a15b2
Implement rest of MSW's wxDataViewCtrl's native column reordering
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50940 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-28 23:07:30 +00:00
Julian Smart
41a031cf98
Return type correction
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-27 17:00:29 +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
Robert Roebling
0a9ca9c424
Add HideCol/RowLabels
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-22 19:46:12 +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
Robert Roebling
71cf399ff0
Playing with wxgrid, adding optionnally native columns labels
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 15:05:03 +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
Vadim Zeitlin
163b3ad72c
replace wrong WXDLLEXPORT declarations with correct WXDLLIMPEXP_BASE/ADV/GL (patch from Tim Stahlhut)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-12 01:35:53 +00:00
Stefan Csomor
162adae55b
missing forward decl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-09 16:46:56 +00:00
Robert Roebling
4792288831
Use native DisclosureTriangle control for wxCollapsiblePane, II
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 18:49:08 +00:00
Robert Roebling
8f782954d1
Compilo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50578 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 17:55:37 +00:00
Robert Roebling
480be76aae
Make wxGenericColourButton derive from wxBitmapButton
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-08 17:29:19 +00:00
Vadim Zeitlin
9d55bfef2c
don't use 8 bit characters in sources, this results in level 1 warning with VC8 (patch 1841741)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-03 22:09:26 +00:00
Vadim Zeitlin
e5dbea4951
added support for icon flags to wxGenericNotificationMessage
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50435 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-02 19:43:04 +00:00
Vadim Zeitlin
e2d5abbf52
implemented wxNotificationMessage for wxMSW using wxTaskBarIcon and fallback to generic implementation on older systems; added wxNotificationMessage::SetFlags()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50429 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-02 17:02:30 +00:00
Vadim Zeitlin
b1f0e54a75
compilation fix after removing default wxDC ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50388 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 21:17:23 +00:00
Robert Roebling
888dde65f4
DC reorganization
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 13:48:22 +00:00
Václav Slavík
b150bffc9e
fixed linking with visibility enabled on Ubuntu and some other systems (any gcc 4.2 amd64?) by removing superfluous virtual wxColour::Ok() (already in wxColourBase) -- do this in all ports, not just wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-27 20:37:06 +00:00
Stefan Csomor
629b5a8746
universal fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50249 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-26 07:43:06 +00:00
Vadim Zeitlin
e36a173933
added wxNotificationMessage and implemented it generically and natively for Maemo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-24 01:56:13 +00:00
Vadim Zeitlin
4f7d425f60
use correct WXDLLIMPEXP_FWD_XXX (patch from Tim Stahlhut)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 14:13:50 +00:00
Paul Cornett
b2e10daccc
make DoSetSizeHints protected, remove parameter defaults
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-22 06:12:56 +00:00
Vadim Zeitlin
7422d7c442
don't show size grip if the window the status bar is attached to is maximized or not resizeable at all
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50068 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-18 23:31:48 +00:00
Vadim Zeitlin
905e090500
forward SetFocus() to the directory tree (replaces patch 1831210)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50026 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-17 15:12:13 +00:00
Robert Roebling
4f37154e98
Further wxDC changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-14 14:49:40 +00:00
Julian Smart
e50488546a
Getting borders working
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-13 14:27:26 +00:00
Vadim Zeitlin
f36e602b3f
make various control names constants of type char, not wxChar, as this is more compatible with the old ANSI build and it doesn't make much sense to use wchar_t for ASCII strings anyhow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-12 21:37:46 +00:00
Robert Roebling
4264606eed
Add wxDataViewTextRendererAttr, blind noop under wxMac
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-08 22:51:58 +00:00
Vadim Zeitlin
ff654490b7
removed all compile- and run-time checks for GTK+ < 2.4; don't include the generic files which are now never used in wxGTK in the build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-05 22:31:24 +00:00
Paul Cornett
92646f5a74
build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 05:04:26 +00:00
Vadim Zeitlin
4660b55651
fixes for DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-02 00:05:09 +00:00
Vadim Zeitlin
d1f7240a09
also assert in generic GetSelection() if the control is in multiselection mode, for consistency with wxMSW and other controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-01 00:09:13 +00:00
Paul Cornett
3c75d8baf9
make access for virtuals match base
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49446 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-26 06:20:23 +00:00
Robert Roebling
52e750fc75
Added wxDataViewCustomRenderer::RenderText() for renderer simple text in platform dependent way, added wxDataViewSpinRenderer
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49272 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-20 20:09:10 +00:00
Robert Roebling
b0d7707bc4
Use wxPointList instead of wxList in wxDC code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-19 14:53:55 +00:00
Robert Roebling
736fe67c66
Added PrependColumn methods and short cuts. Added test for DeleteColumn to sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-18 20:56:38 +00:00
Vadim Zeitlin
0f1b6d7b58
removed extra const in DoGetFilenames() declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-08 13:00:45 +00:00
Vadim Zeitlin
398eebb155
fix wxGenericFileDialog::Get{Path,Directory,Filename}() functions which were completely broken by wxFileCtrl patch
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49058 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-10-05 23:54:40 +00:00
Robert Roebling
c0845ad3a6
Forgot to commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48954 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 19:33:44 +00:00
Julian Smart
bff023f172
Added forward declaration for wxWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 06:41:11 +00:00
Vadim Zeitlin
0ec1179b86
added wxTextEntry common base class for both wxTextCtrl and wxComboBox; refactor wxGTK code to put common parts of these classes in the base class; fixed some inconsistencies in the text control behaviour between platforms
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-26 00:30:22 +00:00
Robert Roebling
eb7637b587
Remove several hack from PS code, use high resolution code from GNOME print, invert Y axis internally
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48922 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-24 14:04:09 +00:00
Vadim Zeitlin
e5dd66e9d2
use update UI handler for the up and new directory buttons instead of manually updating the controls, this fixes a bug where up button wasn't enabled back after selecting a child of top level directory
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 12:24:05 +00:00
Vadim Zeitlin
8522a5458b
fix warning about int->bool conversion; wrap long lines to 80 columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-19 11:39:26 +00:00
Paul Cornett
260020e392
various small cleanups
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 17:24:44 +00:00
Vadim Zeitlin
16a6b53ddc
rename wxFileList to wxFileListCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 10:01:00 +00:00
Vadim Zeitlin
0cf3e587a2
added new and improved wxFileCtrl implementation (patch 1763164)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:14:34 +00:00
Vadim Zeitlin
b4a11fe85c
don't access m_clientDataItemsType directly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48732 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-17 00:12:13 +00:00
Robert Roebling
453091c269
Add wxDataViewCtrl::GetColumnPosition() stubs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 13:29:19 +00:00
Robert Roebling
21f47fb900
Add wxDataViewCtrl::GetSortingColumn() stubs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-13 12:57:40 +00:00
Vadim Zeitlin
4d5a1b0ab8
declare wxEVT_GRID_COL_MOVE event (which was defined but not declared in the header) and add macros for handling it (patch 1788077)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-09-09 21:39:11 +00:00
Robert Roebling
24c4a50f43
Patch from Bo, implements mouse hover, default sort
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48457 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-29 20:29:59 +00:00
Robert Roebling
57f2a65292
Applied patch from Bo, WIP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-28 09:32:43 +00:00
Robert Roebling
afebb87be1
Patch from Bo for recent API changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48398 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-26 14:48:29 +00:00
Robert Roebling
a87b466df3
Correct signature of HitTest()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 20:00:32 +00:00
Robert Roebling
fbda518cb7
Minor API changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-24 11:21:52 +00:00
Robert Roebling
66e09788ab
Patch from Bo, adapt generic code to new API, add GetItemRect and HitTest
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-20 17:26:11 +00:00
Robert Roebling
6154212e51
Change EnsureVisble() to including column parameter, implemented it for wxGTK
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 21:44:34 +00:00
Robert Roebling
b7e9f8b136
Bo's patch adding Selection API and some more changes, doesn't compile yet
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48182 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-19 19:03:01 +00:00
Vadim Zeitlin
6d7aee4f47
include wx/datetime.h, it's not always included from the other headers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-15 11:46:57 +00:00
Julian Smart
6f3f9b50aa
Made wxBORDER_THEME the same as wxBORDER_DEFAULT
...
Moved wxControl::GetBorderStyle into wxWindowMSW::GetBorderStyle
but added GetBorderStyle to have the same behaviour as before (so e.g.
notebook panels don't get borders)
Improved help window borders
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-08-08 12:39:56 +00:00
Vadim Zeitlin
b2f0b9342a
removed unused wxUSE_XXX options (patch 1759328)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-28 00:08:01 +00:00
Vadim Zeitlin
a236aa2058
many wxItemContainer-related changes:
...
1. the main function for item insertion is now DoInsertItems() which allows
for much more efficient addition of many new items at once
2. the items client data management is done entirely in wxItemContainer
itself, the derived classes don't have to distinguish between void and
object client data
3. many fixes for sorted controls, in particular implemented wxCB_SORT support
in wxGTK combobox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-26 13:54:14 +00:00
Robert Roebling
704c349086
Patch from Bo for generic wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 10:37:04 +00:00
Robert Roebling
3b6280beb2
Bo's patch for generic code, more sorting code, WIP
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-12 12:58:28 +00:00
Vadim Zeitlin
3c029873c6
check for wxUSE_TIMER in headers, not the files including them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 00:00:33 +00:00
Robert Roebling
aba9bfd00a
Bo'd patch to make wxDataViewCtrl compile again (4th attempt
...
to actually commit).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:38:22 +00:00
Václav Slavík
b5dbe15d0b
added WXDLLIMPEXP_FWD_FOO macros in addition to WXDLLIMPEXP_FOO for use with forward declarations (in preparation for GCC visibility support)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 10:09:52 +00:00
Julian Smart
f49fd6d0cd
Added SetBitmap, GetBitmap to wxWizard
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47066 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-02 08:00:48 +00:00
Václav Slavík
330e8ab901
dont use wxChar* arguments in wxDatePickerCtrlGeneric API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 17:03:42 +00:00
Václav Slavík
46ff9bd5dd
don't use wxChar* arguments in wxLogWindow API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47003 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-28 16:59:06 +00:00
Vadim Zeitlin
db23ced867
remove .cvsignore files, they're useless with svn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-26 22:41:53 +00:00
Vadim Zeitlin
b99891b0c8
suppress virtual function hiding warnings due to the existence of several DoLog() and DoLogString() overloads of which only one is overridden
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 18:09:03 +00:00
Václav Slavík
994f04a3f2
wxUSE_STL compilation fixes for wxGenericFontDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-16 17:32:09 +00:00
Václav Slavík
5a20d2ced0
changed wxLog::OnLog(String) to take wxString instead of wxChar* to avoid unnecessary conversions; added compatibility code so that user code overriding these with char* or wchar_t* argument continues to work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 10:04:05 +00:00
Vadim Zeitlin
1d5fda5dc6
extract setting max length in wxGridCellTextEditor::DoCreate() and call it from wxGridCellAutoWrapStringEditor::Create() to ensure that it honours the base editor parameters
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-01 22:05:12 +00:00
Vadim Zeitlin
2afb9e1690
1. Derive wxMessageDialogBase from wxDialog (why did we use multiple
...
inheritance here?), moved more wxMessageDialog fields into the base class
2. Added functions to set the text of message box buttons (patch 1700393,
currently only implemented for wxMac)
3. Added wxMessageDialog::SetMessage() and SetExtendedMessage() and
implemented them for wxMac (part of the patch), wxGTK 2.4+ and in
a generic way for everybody else
4. Allow changing the dialog attributes between creating and showing it,
for this the real dialog creation is now done on in ShowModal() in all
ports
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46199 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 12:50:42 +00:00
Vadim Zeitlin
d0bc78e2bf
deprecate unneeded wxDIRCTRL_SHOW_FILTERS style, just always show the filters if they're present (modified patch 1719448)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46187 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-24 00:14:59 +00:00
Vadim Zeitlin
9fcd0bf7f3
added wxListCtrl::SetItemPtrData()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-10 01:53:21 +00:00
Václav Slavík
59a14f6984
fix compation with Watcom after latest vararg templates changes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45862 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-06 14:11:14 +00:00
Vadim Zeitlin
cfddeb1067
fix compilation in wxUSE_MENUS==0 case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 14:48:20 +00:00
Václav Slavík
1528e0b85f
use wxFormatString helper class for 'vararg' functions' format argument; this prepares the code for removal of implicit wxString conversion to char* in STL build and also fixes VC6 compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45803 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-04 10:41:08 +00:00
Václav Slavík
d1f6e2cfe2
fixed vararg functions with format argument to not use wxString or reference argument (the latter is invalid C++, the former doesn't work with Watcom and produces at least warnings with GCC 3.3)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45781 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 10:50:25 +00:00
Robert Roebling
04ab8b6ddf
Moved all the coordinate system calculation to wxDCBase
...
and thus removed all the duplicated code in all wxDC
classes.
Problematic is that wxSVGFileDC and wxPostscriptDC inherit
from wxDC and therefore include platform specific code
(also before this change) so I chose to override all
SetLogicalOrigin() etc. methods in these classes and
call their wxDCBase methods thereby circumventing the
platform dependent code.
I'm afraid the Mac code will require updating, too.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 11:05:45 +00:00
Vadim Zeitlin
781130bf60
fix m_sizerPage memory leak for the wizards not using sizers (replaces patch 1708331, fixes bug 1647290)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-30 19:43:28 +00:00
Václav Slavík
2523e9b700
use UTF8-encoded char* strings in UTF8 build instead of wchar_t* if the current locale uses UTF8;
...
fall back to widechar CRT functions in the locale is not UTF8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45663 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 11:40:04 +00:00
Vadim Zeitlin
c94f845b16
changed wxDC::GetTextExtent() and related methods to take const wxFont pointer, for consistency with wxWindow::GetTextExtent() and because it generally doesn't need a non-const font
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-25 01:49:47 +00:00
Vadim Zeitlin
66c59e2c54
add m_ prefix to the member variables and remove unneeded dialogParent field (part of patch 1702962)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45585 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-22 20:20:51 +00:00
Vadim Zeitlin
c2ca375c56
preparation for allowing to use wxTimer in wxBase (heavily modified patch 1113088):
...
1. Changed wxTimer to use wxTimerImpl
2. Added Unix-specific generic timer implementation
3. Added wxAppTraits::CreateTimerImpl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45544 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-20 01:29:16 +00:00
Robert Roebling
c3112d560e
Corrected/implemented sorting (by way of clicking on
...
on the header button) for the generic code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 12:31:35 +00:00
Robert Roebling
1e510b1e2d
Implemented the same simple API for creating customized
...
in-place editing controls for GTK+ and the generic
version and demonstrate its use in the sample using
a wxSpinCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 12:08:10 +00:00
Robert Roebling
99d471a5db
Rewritten in-place editing for generic wxDataViewCtrl
...
moving the code (partly) to the renderer and away
from the wxDataViewCtrl class. Adding new in-plae
editors (wxChoice) should be much simpler now.
Also implemented using Validate() before committing
a change to the data model.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 12:45:25 +00:00
Václav Slavík
47b378bd88
removed extra semicolons (patch #1700459 ; fixes compilation with gcc's -pedantic flag)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45450 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-14 09:58:37 +00:00
Vadim Zeitlin
ea098413d0
made wxTLW::SetIcon() non-virtual, it was already implemented in terms of
...
SetIcons() in most of the ports, now do it in all of them
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-07 23:40:55 +00:00
Václav Slavík
11aac4baa6
provide both const char* and const wchar_t* implicit conversion of wxCStrData regardless of the build type
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45262 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-05 21:28:14 +00:00
Vadim Zeitlin
996173c401
fix unused parameter warning when wxHAS_NATIVE_OVERLAY (patch 1692332)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45200 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-01 14:14:58 +00:00
Vadim Zeitlin
05cc594ad2
removed extraneous comma at the end of wxGridDirection enum
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-20 21:06:06 +00:00
Vadim Zeitlin
cdb11cb99e
added labels support for toolbar controls for wxMac and wxMSW (modified patch 1613603)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44903 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-18 23:13:18 +00:00
Václav Slavík
c9f7896861
first phase of transition to unified Unicode build:
...
1. changed c_str() to return wxCStrData (implicitly convertible to wxChar*)
2. added template type-safe wrappers for vararg functions
3. added wxUniChar class representing single Unicode character
4. changed wxString::operator[] and wxString::iterator to return wxUniChar
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44865 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-17 10:26:10 +00:00
Vadim Zeitlin
733f486aac
added support for wxGRID_AUTOSIZE in wxGrid::SetRow/ColLabelSize()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 17:44:41 +00:00
Vadim Zeitlin
b62f94ff48
added wxGridUpdateLocker helper class wrapping Begin/EndBatch() calls in a more convenient and safe way
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-15 17:25:15 +00:00
Paul Cornett
6d020baf20
use full repaint style instead of size event
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44687 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-08 04:27:29 +00:00
Vadim Zeitlin
c105dda081
native wxHyperlinkCtrl implementation for GTK+ 2.10+ (patch 1661851)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44647 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 22:12:47 +00:00
Vadim Zeitlin
c1dc9f8394
removed WXWIN_COMPATIBILITY_2_4 from common and wxMSW files (patch 1675546)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-07 11:35:04 +00:00
Vadim Zeitlin
86033c4b6f
handle mouse capture lost event in grid windows and reset the grid to normal state when it happens
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-03-04 22:18:35 +00:00
Robert Roebling
9861f022c3
[ 1665996 ] Fixes/extensions to wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-23 07:57:46 +00:00
Robert Roebling
87f0efe2d7
Most of FM's wxDataViewCtrl patch.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-17 12:32:38 +00:00
Vadim Zeitlin
ef316e23c9
made (many) more wxGrid methods const
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44367 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-02-05 19:10:09 +00:00
Vadim Zeitlin
a56a1234a5
removed wxABI_TESTS, they're irrelvant in 2.9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44333 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-31 03:40:59 +00:00
Robin Dunn
6646ca90e8
Added wxSearchCtrl::[Get|Set]DescriptiveText
...
Tweaked the layout of the subcontrols a bit
Lightened the icons to be more like Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-19 05:27:16 +00:00
Vadim Zeitlin
0917b10c4b
disable wxCollapsiblePane compilation in wx/chkconf.h, not wx/generic/collpaneg.h (bug 1620397)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44130 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-07 17:26:19 +00:00
Paul Cornett
ffdbfc4a76
remove inline from declaration of functions which are not inline
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@44083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-01-01 19:49:10 +00:00
Robin Dunn
af1f44f17e
Also do LayoutControls from EVT_SIZE handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-12 00:53:52 +00:00
Vadim Zeitlin
8bc333d76d
added $Id$ to the header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 14:14:07 +00:00
Vadim Zeitlin
ec184e3242
1. Renamed Set/GetXXXVisible() to ShowXXX() and IsXXXVisible()
...
2. Moved wxSearchCtrlBase to wx/srchctrl.h to avoid duplicating it
3. Removed gcc #pragmas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43924 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 13:48:18 +00:00
Robin Dunn
2efce8f1ad
include bitmap.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 07:48:02 +00:00
Robin Dunn
3f7f284d55
Modified form of Patch #1611222 , adds wxSearchCtrl (generic & native carbon HISearchField)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43908 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-11 06:19:27 +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
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
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
Kevin Ollivier
bb29edfaa2
Allow wxGenericListCtrl to correctly handle Get/SetScrollPos [bug 1584099].
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43734 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-12-01 20:31:25 +00:00
Vadim Zeitlin
54a4121a62
corrected wxTreeCtrl::GetBestSize() for a control with borders
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43640 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-25 14:54:22 +00:00
Vadim Zeitlin
b5f842a902
assert if wxCAL_SEQUENTIAL_MONTH_SELECTION style is changed after creation as this doesn't currently work
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-19 20:01:51 +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
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
Vadim Zeitlin
4b98d13d36
put #if wxUSE_COLLPANE around AddCollapsiblePane() declaration
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 23:18:52 +00:00
Vadim Zeitlin
b9993189cc
show all available information in the dialog (somewhat modified patch 1592306)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-12 21:43:27 +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
Robert Roebling
ccdbdc8936
Added native selection rectangle drawing.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-11-11 00:22:20 +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
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
Vadim Zeitlin
912c39325b
Various wxCollapsiblePane enhancements (re-patch 1577412):
...
1. wxUSE_COLLPANE added
2. XRC handler added
3. flicker fixes for the generic version
4. sizing fixes for GTK+ version
5. RTL fixes for the generic version (via wxBoxSizer)
6. better appearance under Mac for the generic version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 20:08:17 +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
8d1517cef2
use explicit virtual keyword with overridden virtual methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-30 19:14:13 +00:00
Vadim Zeitlin
84498436c9
no real changes, just renamed the header guard to standard form and removed unneeded casts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42570 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 14:11:54 +00:00
Vadim Zeitlin
9c71a1386d
allow customizing the string values returned by wxGridCellBoolEditor::GetValue() (feature request 1557790)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-28 13:57:38 +00:00
Robert Roebling
4427c0a3ff
[ 1585858 ] Fix wxDatePickerCtrlGeneric and wxComboCtrl kb navigation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 18:02:21 +00:00
Václav Slavík
687b91d266
compilation fix: wxGenericCollapsiblePane needs wxButton and wxStaticLine
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-27 13:08:05 +00:00
Václav Slavík
69a5bc231a
changed wxHAS_NATIVE_OVERLAY and wxHAS_CARET_USING_OVERLAYS to use #ifdef instead of #if ... == 1
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42397 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-25 12:12:56 +00:00
Julian Smart
38aa6e420c
Must define a symbol to test its value
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 16:17:13 +00:00
Václav Slavík
30c841c84d
moved wxOverlay into overlay.* files and out of dc.h/dcbase.cpp; implemented wxOverlay for wxDirectFB port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 12:29:14 +00:00
Włodzimierz Skiba
abbe3d379e
ADV export fix.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-24 10:35:44 +00:00
Vadim Zeitlin
4223cec504
avoid code duplication between the generic and GTK versions, factor the common code out in OnStateChange()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:27:10 +00:00
Vadim Zeitlin
2cbf701441
1. We don't need GetTopLevelParent() here, we already have wxGetTopLevelParent()
...
2. Don't hardcode button id in the generic version
3. Don't include unneeded headers from the header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 23:23:12 +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
Vadim Zeitlin
f4aa7ec32b
small refactoring to avoid code duplication; renamed wxProgressDialog::UpdatePulse() to just Pulse(); added test for it in the dialogs sample (part of the patch 1551409 which somehow wasn't applied before)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42253 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 21:08:11 +00:00
Vadim Zeitlin
85fa9d60c4
use wxComboCtrl instead of custom popup window (patch 1575343)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-22 14:15:46 +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
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
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
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
42eba91294
build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-11 03:00:07 +00:00
Stefan Csomor
e412f8928f
adding overlay implementation for core graphics
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41912 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 19:09:01 +00:00
Paul Cornett
e07c114691
correct DLL attributes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 17:35:49 +00:00
Stefan Csomor
861410228d
overlay implementation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-10 10:28:04 +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
Robin Dunn
943d32e1c6
DLL build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41847 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 23:13:45 +00:00
Robert Roebling
8e9ec7239f
[ 1573855 ] Improved appearance of wxComboCtrl's wxTextCtrl
...
More work needs to be done for the version with
images.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 20:12:19 +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
Robin Dunn
b85db900cd
DLL build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41813 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 16:56:18 +00:00
Paul Cornett
38b130853f
non-pch build fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41786 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-09 07:36:26 +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
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
Vadim Zeitlin
453c9e3b0b
added example of customizing the generic about dialog and renamed wxAboutDialog to wxGenericAboutDialog
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 14:12:59 +00:00
Vadim Zeitlin
ca7adbf8bc
initial implementation of wxAboutBox()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41683 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-08 01:02:04 +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
Robin Dunn
e1f8ec2909
Give the grid events a Clone method
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41615 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 21:52:50 +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
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
Paul Cornett
df9fac6d21
header cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-03 14:28:36 +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
Paul Cornett
e409b62aaf
listctrl header cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41568 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 17:38:30 +00:00
Paul Cornett
4c44eb66f3
put grid string in generic/grid.cpp, not common/datacmn.cpp
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41554 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-10-02 08:12:33 +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
2586d4a121
Several wxBitmapDataCell changes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-30 21:21:19 +00:00
Vadim Zeitlin
87f83ac867
The Lesser wxMask Refactoring: merged wxMGL and wxDFB version, added wxMaskBase which could/should be used by other ports later
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-28 23:02:39 +00:00
Vadim Zeitlin
012967ef1b
rename OnResize() to OnSize() to avoid conflict with base class OnResize(void) virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41431 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2006-09-25 12:40:37 +00:00