Commit Graph

46589 Commits

Author SHA1 Message Date
Vadim Zeitlin
5829b3034b no changes, just removed whitespace and perfectly useless "/* if */" and the incredible "// variable definition and initialization" and wx version checks unnecessary inside wx itself
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 21:05:30 +00:00
Paul Cornett
b63dc1c140 make sure timer events will trigger idle processing, #10251
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 18:23:28 +00:00
Vadim Zeitlin
140a119ad2 restore sorting functionality broken by r57161
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57168 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 16:16:21 +00:00
Vadim Zeitlin
0c5209a808 wxDataViewColumn doesn't need to have wxRTTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57167 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 16:07:54 +00:00
Vadim Zeitlin
835d0d55c1 compilation fix after r57161
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 16:06:34 +00:00
Vadim Zeitlin
3cbd3136f9 removed accidentally left in in r57161 pure virtual function marker
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 16:04:48 +00:00
Vadim Zeitlin
a7d403698f made wxHeaderColumnBase dtor virtual to avoid gcc warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 16:03:50 +00:00
Vadim Zeitlin
40dc2ae656 update the generic wxHeaderCtrl implementation after r57161
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57163 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 16:00:10 +00:00
Vadim Zeitlin
a1d4adc5ce use wxHeaderColumnSimple instead of wxHeaderColumn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 15:58:59 +00:00
Vadim Zeitlin
e2bfe6731e - Rewrite wxHeaderCtrl to be virtual-like: even if we don't need an infinite
number of columns in it, it turns out that getting column information from
  the associated control is much easier than copying it into the control.
- Provide wxHeaderCtrlSimple derived class which can be used easily if
  callback approach of wxHeaderCtrl is not needed.
- Because of wxHeaderCtrl virtualization, port-specific implementations of
  wxHeaderColumn are not needed any more and were removed.
- Use wxHeaderCtrl in the generic wxDataViewCtrl: this means that column
  events are broken right now in it as they haven't been implemented by
  wxHeaderCtrl yet, this will be fixed a.s.a.p.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57161 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 14:47:55 +00:00
Vadim Zeitlin
bc0289bf5e no changes, just remove trailing whitespace
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 14:19:18 +00:00
Francesco Montorsi
2859935bb1 document GetPickerCtrl() method and provide an example of how to use it to change the default 'Browse' label for wxFilePickerCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 13:50:12 +00:00
Francesco Montorsi
c933f8f85b formatting change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 13:48:36 +00:00
Francesco Montorsi
61babb3c30 add a link to the page of the GTK+ manual stock items
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57157 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 13:48:06 +00:00
Vadim Zeitlin
4e021c31d0 enable autobrief comments
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 13:16:32 +00:00
Paul Cornett
3d5b482773 remove redundant clearing of clipped mask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57155 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 05:51:42 +00:00
Paul Cornett
6226d1e97b fix bitmap position with RTL and non-default scale
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-07 05:50:11 +00:00
Jaakko Salli
3d1706f8ee Fixed incorrect background colour that wxStaticTexts in description box sometimes got
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57145 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-06 19:01:32 +00:00
Francesco Montorsi
3e0e389578 added a @todo about references to old wx functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-06 16:45:51 +00:00
Francesco Montorsi
727aa9062b moved many things from wxString reference page to the wxString overview; updated some old/incoherent informations; added some DIA-drawn graphs showing UTF8/UCS2 different representation used by wxString
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-06 16:24:52 +00:00
Vadim Zeitlin
e215c9959c suppress (harmless) unused parameter warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 22:48:25 +00:00
Vadim Zeitlin
b63f9a3330 generic implementation of wxHeaderCtrl API so far
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 22:44:54 +00:00
Vadim Zeitlin
d8fc3398ac move ScrollWindow() implementation to the base class and call private DoScrollHorz() from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 22:43:37 +00:00
Vadim Zeitlin
a3e0efb6a4 override GetDefaultBorder() to not use border by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 22:34:29 +00:00
Vadim Zeitlin
f24f657913 emulate scrolling in wxMSW header control; document the need to call ScrollWindow() when using it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57133 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 22:11:27 +00:00
Vadim Zeitlin
a000920547 add Show/HideColumn() methods
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57132 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 21:50:30 +00:00
Vadim Zeitlin
78fd3d12bc add IsShown() accessor which is sometimes more convenient than IsHidden()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 21:49:34 +00:00
Francesco Montorsi
4a6665c6eb document wxLogLevel, wxTraceMask antypes and wxLogLevelValues enum
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57129 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 21:06:09 +00:00
Francesco Montorsi
491c42d00f fix description of wxconsole template; add description for wxgui template
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57128 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 17:25:13 +00:00
Vadim Zeitlin
1e417065df no changes, just remove typos in comment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57126 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 10:15:00 +00:00
Robert Roebling
183b82cc61 Use gtk_text_buffer_select_range for selecting programmatically
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 10:09:47 +00:00
Paul Cornett
fb14d960c3 use simpler method to draw bitmap
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 07:47:51 +00:00
Francesco Montorsi
77ef61f539 add definitions of some Unicode terms (code point/unit, glyph, plane); link two images to help understanding differences; minor other formatting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57116 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 01:01:12 +00:00
Francesco Montorsi
d5742c23be small refinements
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-05 00:57:05 +00:00
Vadim Zeitlin
bd44dee698 add size parameter to the generic wxFileDialog ctor
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 23:14:00 +00:00
Francesco Montorsi
1707da0c37 repair the example code; get rid of useless wxT() from it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57112 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 21:50:52 +00:00
Francesco Montorsi
8b6264b43e add a 'Paint background' check menu item in the MyImageFrame class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57111 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 20:49:30 +00:00
Francesco Montorsi
d4bb7c9334 document wxWindowID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57110 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 20:42:25 +00:00
Francesco Montorsi
c0b25bb258 call Fit() when updating the message label to adapt to longer (or much shorter) labels
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 15:37:20 +00:00
Vadim Zeitlin
9ef3e400e0 PCH-less build fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57107 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 15:17:25 +00:00
Vadim Zeitlin
9a382f1fad fix VC6 DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 13:11:27 +00:00
Vadim Zeitlin
8eb4d1a1f1 define HDS_FLAT outside of __DMC__ section so that it's really visible by VC6
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 12:08:16 +00:00
Vadim Zeitlin
1654ef4c98 fix handling of abandoned mutexes in wxMutex::Wait[Timeout]() (#10236)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57100 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 00:22:04 +00:00
Vadim Zeitlin
fe8f9ad70c don't call DragFinish() before calling DragQueryPoint() or we (naturally) don't get the correct answer from the query (#10238)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-04 00:17:36 +00:00
Vadim Zeitlin
20f4a2e41f forgot to update after renaming wxHeaderCtrlColumn to wxHeaderColumn
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57098 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 23:21:08 +00:00
Vadim Zeitlin
56b18fda94 define HDS_FLAT not defined in VC6 headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57097 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 23:20:35 +00:00
Vadim Zeitlin
5e7078ad6f also disable the test of the generic version as it's not in the svn yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 21:56:49 +00:00
Vadim Zeitlin
bd93de46e9 disable generic version, it's not ready to be committed just yet
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 21:54:34 +00:00
Vadim Zeitlin
56873923f3 extract (and expand and clean up and document) the header window implementation used inside the generic wxDataViewCtrl in a separate wxHeaderCtrl class which could be reused in (generic) wxListCtrl and, most importantly, wxGrid later
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57093 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 21:53:10 +00:00
Francesco Montorsi
878770b854 document the wxArtID and wxArtClient types; they help to understand how wxArtProvider::GetBitmap can be used to retrieve GTK native icons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-03 20:33:08 +00:00