Commit Graph

3870 Commits

Author SHA1 Message Date
Robert Roebling
c534e69669 added wxDataViewIndexListModel and sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-21 23:07:03 +00:00
Robert Roebling
ed903e4242 Renamed HasChildren() to IsContainer(), added GetParent() to wxDataViewModel
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47589 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-20 09:01:52 +00:00
Robert Roebling
cf283a470a Better sorting example and better default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-19 14:03:43 +00:00
Robert Roebling
55fbde1232 Some code renaming to avoid confusion. Test editable column in sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-17 22:01:47 +00:00
Robert Roebling
b5fce9e2df Store pointers in wxDataViewItem in the sample, no any artifical int ID
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 11:15:10 +00:00
Robert Roebling
9d52aad39a change wxDataViewItem id to void*
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-16 11:01:05 +00:00
Vadim Zeitlin
ce0bb89d45 no real changes, just added an extra status message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 19:31:00 +00:00
Robert Roebling
e63807a8a4 Add test for deleting item from wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-15 14:08:08 +00:00
Robert Roebling
befa9b614f Test in GetFirstChild() if item is known to control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47460 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 15:47:01 +00:00
Robert Roebling
1e08ad102a Made wxDataViewCtrl sample use a real, expandabl data tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47459 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-14 13:54:14 +00:00
Vadim Zeitlin
c6f9dfe8ef added commands to test how busy cursor behaves during wxExecute()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47427 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 13:05:28 +00:00
Robert Roebling
d5025dc00f More patches from Bo, reduced wxDataViewModel, more sorting preps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-13 00:35:39 +00:00
Vadim Zeitlin
e16417726c minor changes: increase the initial window size, create the log control read-only, don't create unneeded status bar panes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47348 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-11 23:17:39 +00:00
Václav Slavík
650c0aa918 cleanup of raw access to bitmaps:
1. remove UseAlpha() on platforms that don't need it and call it automatically from ~wxPixelData instead of requiring explicit call; deprecate wxPixelData::UseAlpha()
2. don't call UngetRawData() if GetRawData() failed

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-10 13:32:25 +00:00
Robert Roebling
94b1f7bcd3 More work on sorting in wxDataViewCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47270 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-09 18:29:05 +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
Robert Roebling
fc5eacdb48 wxDataViewCtrl can show tree/list music sample.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 19:55:00 +00:00
Robert Roebling
d2505ba254 Getting closer to working tree/list wxDataViewCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 19:15:03 +00:00
Robert Roebling
5debbdcf7b The dataview sample compiles now, but doesn't work yet...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-07-05 14:59:16 +00:00
Vadim Zeitlin
a989a329db changed ds[pw] files to use CRLF eol style and not native one (this helps if you have them on a partition exported via Samba from Unix to Windows)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47046 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-30 12:13:58 +00:00
Chris Elliott
68ed8430fa remove sole makefile.dmc in tree
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@47022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-29 12:36:25 +00:00
Václav Slavík
bd0b594dff compilation fixes after string changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 20:49:19 +00:00
Vadim Zeitlin
7f2bcd064c use DisableTimestamp() instead of SetTimestamp(NULL)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46985 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 19:25:58 +00:00
Vadim Zeitlin
7b1bf3ad2d added wxLog::DisableTimestamp() to be used as a synonym for SetTimestamp(wxEmptyString)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-27 12:09:55 +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
Václav Slavík
d45127a543 removed executable bit on files that aren't executables
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-25 14:04:34 +00:00
Vadim Zeitlin
8c714e065c override DoLog(wxString) and not the deprecated DoLog(wxChar*) in LboxLogger
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 19:52:29 +00:00
Václav Slavík
a342cb00c5 wxUSE_STL compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-22 12:30:51 +00:00
Julian Smart
079b2f6ba2 Fixed uninstalled toolbars in native toolbar mode, with a method for
specifying non-native if required
Added code to toolbar sample for testing uninstalled toolbar


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-20 14:02:06 +00:00
Vadim Zeitlin
74e10fcc6a reset one shot timer internal state instead of leaving it thinking that it's still running (mdified patch 1730597)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-06-04 13:34:54 +00:00
Robert Roebling
2a5e6d1b3a Experimenting with cell attributes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46252 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-30 21:02:33 +00:00
David Elliott
ae04c0f156 Include wx/filedlg.h when not WX_PRECOMP.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46228 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-28 02:31:54 +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
bacbf21352 we don't need status bar in the MDI children
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46115 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-18 17:29:16 +00:00
Vadim Zeitlin
549b95b3de added wxTimer test (now that it works in console applications too)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:15:52 +00:00
Václav Slavík
6f207e6699 compilation fixes for --disable-compat28
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-15 13:01:19 +00:00
Vadim Zeitlin
a9a0ceca5b added support for drop down toolbar buttons (patch 1713470)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-11 23:35:49 +00:00
Stefan Csomor
87d9092b70 making proper resource-fork apps
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45837 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-05 17:22:09 +00:00
Vadim Zeitlin
8f6d9cb3f7 use a default URL, I got tired of typing it in the dialog every time
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45788 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 15:26:06 +00:00
Václav Slavík
08fa76dc25 fixed linking against wxscintilla in debug build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-03 09:07:25 +00:00
Paul Cornett
3f6187f1d3 make File->Exit work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-05-02 03:18:18 +00:00
Robert Roebling
21dd7c5b4c Added Test for wxComboBox::SetValue() to widgets sample.
Make wxGTK not send text change events then.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 18:40:43 +00:00
Chris Elliott
32326dc3d9 better user info
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 13:38:52 +00:00
Chris Elliott
17aa8c0476 fix dll path
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 13:28:46 +00:00
Vadim Zeitlin
05a8831af2 added Roscale() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 13:05:41 +00:00
Vadim Zeitlin
1d8acb7d4d added Rotate() test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45666 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 12:50:04 +00:00
Chris Elliott
1b54a5d2cc add Borland Developer Studio project file (for Turbo Explorer) uses dll build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 12:42:31 +00:00
Vadim Zeitlin
90576c50fc allow to test changing combobox selection too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-26 02:10:36 +00:00
Robert Roebling
2fa73716ca Change SetValue( wxVariant &value ) to
SetValue( const wxVariant &value )
    (already documented)
   Delete in-place editing control through
    pending list, not in event handler.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45619 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-24 09:36:48 +00:00