Robert Roebling
7862af84e5
Regen using newest bakefile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 22:35:48 +00:00
Robert Roebling
c9a93ef94f
Added bakefiles makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57486 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 22:22:14 +00:00
Robert Roebling
5d3c91610e
Added clipboard sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57483 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 22:13:54 +00:00
Robert Roebling
e28b7c297c
Added clipbaord sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57482 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 22:12:21 +00:00
Vadim Zeitlin
64d192d2cf
add popup sample to the workspace ( fixes #10162 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 02:44:00 +00:00
Vadim Zeitlin
4944929063
fix unused variable warning (part of #10162 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57461 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 02:41:59 +00:00
Francesco Montorsi
d1935bf638
replace wxPostEvent with wxQueueEvent and update the thread sample description (the sample doesn't shows usage of wxMutexGuiEnter/Leave)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57449 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-20 21:29:20 +00:00
Robert Roebling
10ab6d4f65
Correct wxDataViewCtrl::IsExpanded and add test for it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 22:26:40 +00:00
Chris Elliott
824eec7e59
add u to file and lib path
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57401 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 14:34:11 +00:00
Vadim Zeitlin
cece89a494
don't crash if the extra controls are not used in the file dialog ( closes #10260 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57389 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-17 09:40:40 +00:00
Vadim Zeitlin
613de0e89e
handle actions of the columns popup menu in wxHeaderCtrl itself (but the derived class must implement UpdateColumnVisibility()); also renamed wxHD_DRAGDROP to wxHD_ALLOW_REORDER as it will be possible to reorder columns interactively using a customization dialog and not just by dragging them soon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-15 22:42:37 +00:00
Vadim Zeitlin
e8f25dbbce
added a helper function to show the popup menu allowing to configure the columns in header control
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-15 11:03:59 +00:00
Vadim Zeitlin
3b367af8cd
added a button to reset the column order and the display of hidden columns to the tabular grid frame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57342 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 22:07:44 +00:00
Vadim Zeitlin
009c72169f
add support for hiding columns when using native header control in wxGrid; also added convenient Hide/ShowCol() methods
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57336 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 17:28:57 +00:00
Francesco Montorsi
0c1c1c714a
fix the loading of the isosurf data; it was not loaded correctly on my system because isosurf.dat uses dots as decimal separators and my locale requires commas; fixed instancing a wxLocale with wxLANGUAGE_ENGLISH)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 16:13:29 +00:00
Vadim Zeitlin
53698f1db2
removed testing code leftovers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 10:08:49 +00:00
Vadim Zeitlin
11393d2900
add support for sorting to grid columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-14 00:02:30 +00:00
Vadim Zeitlin
cd68daf58a
support column reordering using drag and drop when using wxHeaderCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-13 00:24:39 +00:00
Francesco Montorsi
7881f83bed
fix command line parsing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-12 21:30:22 +00:00
Francesco Montorsi
6c7f094959
modernize the sample removing global C-style functions; partially fix loading of the .dat.gz file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-12 20:42:51 +00:00
Francesco Montorsi
3e23102435
don't assert at startup because of the static initialization of a wxLocale object requires a valid wxAppTraits object; init the locale later, in TestDefaultLang()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57284 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-12 15:58:03 +00:00
Jaakko Salli
f915d44b3f
Added wxPropertyGridInterface::RemoveProperty()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 17:11:35 +00:00
Jaakko Salli
18e046a7c5
SpinCtrl editor's 'value change by mouse motion' feature is made optional, enabled via 'MotionSpin' attribute. Also, for now only enabled on MSW (mouse capture etc. inconsistent on native wxGTK spinbutton?).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-11 16:14:55 +00:00
Francesco Montorsi
7dfb6dc4a9
use wxAboutBox() to make it evident a wxGrid refreshing bug under wxMSW (probably correlated to the window disabler used by the generic about box)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57235 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-10 16:20:07 +00:00
Vadim Zeitlin
fbc25b5107
make first column non-draggable to test support for this flag
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57223 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-09 23:31:32 +00:00
Vadim Zeitlin
9298a1c2ac
use a slightly less ugly way to conditionally suppress unused parameter warnings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57216 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-09 13:36:23 +00:00
Vadim Zeitlin
fba41cf33a
skip the header click event to allow sorting (done in the default handler) to take place
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57207 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 21:14:00 +00:00
Vadim Zeitlin
fed76ce1e7
test non-resizeable and resizeable but with min size set columns
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57198 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-08 16:50:26 +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
3c5ab89b18
fix background repainting under wxMSW (not sure this is the best way to do it - but it works)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57083 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 22:53:38 +00:00
Jaakko Salli
8a337f95d8
Implement ability to rapidly change spin value of SpinCtrl property editor by moving mouse while one of the spin buttons is depressed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57076 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 18:39:40 +00:00
Vadim Zeitlin
e2517f176b
add support for creating drop down toolbar buttons from XRC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 18:11:54 +00:00
Vadim Zeitlin
2291f2f1b7
show the use of check and radio items in the toolbars
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57071 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-02 16:56:09 +00:00
Vadim Zeitlin
e7ae8a69ea
demonstrate column reordering -- currently it demonstrates that it's completely broken in various and interesting ways
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-01 00:23:34 +00:00
Vadim Zeitlin
24973882e4
removed small and tabular grid tests which didn't seem to do anything useful (will replace the latter with a test of column reodering soon)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 21:13:46 +00:00
Vadim Zeitlin
ebaa7e48fe
really fix the typo in the message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 13:53:13 +00:00
Francesco Montorsi
0a29d575ca
typo fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-30 13:49:56 +00:00
Francesco Montorsi
1bf045456f
fix crash caused by cancelling querybitmap dialog; fix crash caused by clicking 'add widget icons' on an empty bitmapcombobox
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57015 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 22:32:00 +00:00
Vadim Zeitlin
f3fe2d4ecb
remove wxVSCROLL from wxMessageDialog style (left over from prior experiments)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-28 20:59:52 +00:00
Vadim Zeitlin
80cc5fc7ad
document column reordering in wxListCtrl; fix confusion between GetColumnOrder() and GetColumnIndexFromOrder() doing this discovered; show the use of these methods in the sample and added a unit test for them
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-26 19:11:22 +00:00
Vadim Zeitlin
21e413b224
fix file dialog caption
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56875 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-20 23:27:50 +00:00
Vadim Zeitlin
95706ac162
ignore files produced by the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 13:52:34 +00:00
Vadim Zeitlin
e536b75069
really ensure that the pointer returned from MyConnection::OnRequest() remains valid
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56816 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-17 11:00:32 +00:00
Vadim Zeitlin
6f0114437c
assert in AddCatalog() if Init() hadn't been called and also check that we have a valid language spec in wxMsgCatalogFile::Load() to ensure we don't form invalid paths there; call Init() before AddCatalog() in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-14 19:06:59 +00:00
Robert Roebling
7448d67c49
Added wxChoice renderer to wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-10 14:08:38 +00:00
Vadim Zeitlin
d2824cdb7f
Review/simplify/cleanup MDI classes for all platforms and introduce base
...
classes for wxMDI{Parent,Child}Frame and wxMDIClientWindow.
Also use generic MDI implementation for wxMotif as it seems to be more
functional and definitely is more maintained (we probably should use the
generic version for wxGTK too).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-04 02:46:19 +00:00
Francesco Montorsi
4b905cbcb6
build fix (the sample uses an undocumented function of wxFont)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56670 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-03 19:32:23 +00:00
Vadim Zeitlin
81d3348a9b
replace wx_{const,static,reinterpret}_cast with their standard C++ equivalents
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-11-02 02:43:11 +00:00
Jaakko Salli
d7e2b52235
Reworked wxPGCell. It is now reference counted, and therefore much more user friendly, and is used internally as basis for most property colour values instead of separate row text and bg colours.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 18:53:37 +00:00
Vadim Zeitlin
254cb7348f
grid sample doesn't need neither html nor xml library
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-31 02:06:25 +00:00