Francesco Montorsi
faf224da98
put frame creation code all inside MyFrame ctor
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58928 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-16 00:27:52 +00:00
Francesco Montorsi
2a90b10068
allow the user to set the status bar font
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 22:11:26 +00:00
Francesco Montorsi
ea6e41e45e
use a single update UI handler for all menu commands which act only on the default status bar
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58775 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 21:34:02 +00:00
Francesco Montorsi
0c36a1d6d4
remove mobile samples from samples.bkl (last part of r58765)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 19:11:37 +00:00
Francesco Montorsi
840b9ff52a
remove 'mobile' samples as they're not useful from a didactive POV nor they show specific features
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58765 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 15:38:30 +00:00
Francesco Montorsi
ce0aa4ba1b
update italian translation; add a Q+A for updating an existing internat translation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 15:33:18 +00:00
Francesco Montorsi
0c54505687
put MyFrame creation code in its ctor, not in MyApp; create a status bar to show its RTL features; add some help strings to menu items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58763 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 15:31:40 +00:00
Vadim Zeitlin
c0c133e13b
add wx-prefixed and semicolon-requiring versions of DECLARE_NO_{COPY,ASSIGN}_CLASS macros
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 11:45:59 +00:00
Francesco Montorsi
197ab43d72
some more SetIcon() calls added; cleanup indentation of some samples
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 01:20:35 +00:00
Francesco Montorsi
41f02b9acc
always call SetIcon() on the main frame of the sample; some small cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 01:01:00 +00:00
Francesco Montorsi
27721528c4
merge wxEditableListBox sample in widgets sample (it was a 60-lines sample of a single control showing limited features)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-08 00:47:04 +00:00
Francesco Montorsi
cdf03c2292
fix repaint problems when resizing the frame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58730 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 22:30:56 +00:00
Vadim Zeitlin
16be58c140
add semicolons after wxDEFINE_EVENT()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58725 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 21:04:47 +00:00
Francesco Montorsi
9df6b3b041
allow the user to set the contents of the status fields
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 17:40:22 +00:00
Vadim Zeitlin
1afe8c8307
rename wxDECLARE_LOCAL_EVENT to just wxDECLARE_EVENT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58713 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-07 15:29:29 +00:00
Francesco Montorsi
06f89fe437
fix the size of the generated controls using wxDefaultSize instead of manually-specified sizes; use wxDefaultPosition instead of manually-specified sizes: they were disregarded anyhow since we use sizers; fix a tooltip message
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 18:02:20 +00:00
Francesco Montorsi
430bdeb55b
fix warning about function hiding by using the 'On' prefix for event handlers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58678 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 17:43:45 +00:00
Francesco Montorsi
fc6d11d1d4
fix warning
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58677 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-05 17:42:50 +00:00
Francesco Montorsi
74d60f66ee
add a wxEventType argument to wxThreadEvent for coherency with other event classes; rewrite its Clone() function
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58661 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 19:44:55 +00:00
Francesco Montorsi
d48b06bd90
check in the 'selective yield' patch (see ticket #10320 ):
...
- implements YieldFor() with event filtering for wxMSW and wxGTK,
adds TODO markers in other ports;
- replaces wxYield() in GTK's clipboard code with a wxTheApp->YieldFor() call, thus fixing possible reentrancies
(and modifies clipboard sample to test synchronous IsSupported calls)
- replaces wxYieldIfNeeded() calls in wxProgressDialog with wxTheApp->YieldFor() calls, so that it processes only
UI/user-input events, thus fixing the race condition visible in the "thread" sample
- documents the new functions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 17:42:28 +00:00
Jaakko Salli
2728c3bfe7
Added proper COW to wxPGChoices, moved wxPGChoices code from propgrid.cpp to property.cpp (to match header organization), removed some now-unneeded helper functions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 16:45:23 +00:00
Vadim Zeitlin
040d3c2ebf
restore the default bitmap icons size to 16*15, making them larger if necessary is enough and doesn't result in having ugly 16*16 bitmaps in a 24*24 button rectangle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58646 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-04 12:19:45 +00:00
Francesco Montorsi
58fa61dbad
Re-add support for multiple text validator styles but
...
1) catch some invalid configurations in SetStyle()
2) document the order of the checks in wxTextValidator
3) implement wxFILTER_EMPTY
4) rename wxFILTER_SIMPLE_NUMBER => wxFILTER_DIGITS
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 21:21:47 +00:00
Vadim Zeitlin
77cc73a78e
added wxPersistentRegisterAndRestore() function to work around VC6 brokenness in debug DLL build
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-03 12:02:20 +00:00
Vadim Zeitlin
79935f61bf
use wxCommandEventHandler instead of manually writing several casts
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58626 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 20:46:33 +00:00
Vadim Zeitlin
862c917dfb
compilation fix for new event types (this shouldn't be necessary but do it to temporarily fix the build)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58621 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-02-02 12:38:17 +00:00
Francesco Montorsi
fcd209b6a2
add SetCharIncludes and SetCharExcludes utilities to wxTextValidator; use iterators when scanning wxStrings; fix typo in ContainsExcludedCharacters (reversed return values); modify the sample to show wxTextValidator with wxFILTER_EXCLUDE_CHAR_LIST
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 22:41:51 +00:00
Francesco Montorsi
2e7a6b030c
add an example of a custom wxValidator-derived class; cleanup a bit the dialog layout
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 21:21:08 +00:00
Robert Roebling
491bb4ba78
Disable wxSIZE_FORCE_EVENT and demonstrate its bug in the wxCollapsiblePane sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58560 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-31 19:15:25 +00:00
Vadim Zeitlin
0fa541e870
add support for persistent controls
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 21:38:29 +00:00
Francesco Montorsi
f2335ba564
s/wxUsleep/wxMilliSleep
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-30 11:22:19 +00:00
Vadim Zeitlin
4f7cd56c14
don't duplicate menu creation code in the parent and child frames
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-28 09:00:49 +00:00
Francesco Montorsi
a0d0799beb
small reorganization; no real change
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 20:20:18 +00:00
Vadim Zeitlin
1483e5db8d
refactor WM_COMMAND messages handling in MDI frames to avoid duplicating code unnecessarily and generally streamline it; added possibility to use custom menu commands in the "Window" menu and specifying accelerators for them now works too (show this in the sample); finally added standard ids for the MDI window menu commands
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58462 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-27 16:47:41 +00:00
Vadim Zeitlin
9089cffbf5
test ShowFullScreen() to verify that restoring menu works correctly
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58442 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 23:17:09 +00:00
Francesco Montorsi
aac39d1d43
cleanup a bit the wxSplashScreen code; don't Yield() on wxGTK as it's not needed at all (at least with GTK+ 2.12.9
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58439 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-26 22:40:13 +00:00
Robert Roebling
2a0c05ebe3
Little correction to hand-made sizing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 20:57:43 +00:00
Vadim Zeitlin
df4a099cbe
fix state images after changing their style (see #9591 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58409 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 18:34:45 +00:00
Vadim Zeitlin
232b216277
added support for wxCAL_SHOW_WEEK_NUMBERS to generic version of wxCalendarCtrl ( #10033 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58394 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 13:47:20 +00:00
Francesco Montorsi
004867dbc5
Change in wxWindow the access specifier of the wxEvtHandler event processing and queuing functions
...
from public to protected. Adapt wxWidgets code and wxWidgets samples to always use wxWindow::GetEventHandler()
when calling such functions on a wxWindow rather than directly using wxWindow::ProcessEvent, etc.
This enables correct event dispatching to the event handlers which have been pushed (with PushEventHandler) on the
windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-25 11:58:39 +00:00
Vadim Zeitlin
be8b43858c
added (wxMSW-only) wxToolTip::SetMaxWidth() and improve its default behaviour ( #2817 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 13:26:20 +00:00
Robert Roebling
37e8bdb87d
Add simple wxListCtrl to complex sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-23 12:26:30 +00:00
Robert Roebling
a91a64da8e
Use theme border in wxListCtrl sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-22 15:11:35 +00:00
Robert Roebling
05527158e5
Use wxDF_UNICODETEXT to make wxMSW crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58268 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 15:14:33 +00:00
Vadim Zeitlin
81496fea46
add more wxUSE_XXX checks to allow compilation with some wx features disabled ( closes #10410 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58264 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-21 14:47:45 +00:00
Paul Cornett
8c2654ce3d
build fixes and cleanup
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58245 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 17:50:51 +00:00
Robert Roebling
9623be70d0
Typo
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 13:54:26 +00:00
Robert Roebling
d0a0c6e36a
Minor error
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58241 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 13:54:06 +00:00
Robert Roebling
e4de825ee6
Add event based Drop API
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 13:46:21 +00:00
Robert Roebling
591cc82deb
Simplified event based Drag API for wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-20 11:58:52 +00:00
Robert Roebling
15cac64f75
New eventb based Drag interface for wxDataViewCtrl
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58236 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 22:27:06 +00:00
Robert Roebling
95b20f41b6
Rename XxxxCol() -> XxxxColumn() and resolve inheritance problems from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58231 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 14:44:47 +00:00
Jouk Jansen
c5782acea4
Update compile support for OpenVMS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58218 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-19 06:20:52 +00:00
Julian Smart
ad60f9e7b6
Workaround for GTK+ sensitivity bug
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-18 12:34:23 +00:00
Vadim Zeitlin
31848e7da5
remove MSVC solution files from svn
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-17 13:22:59 +00:00
Francesco Montorsi
00621a0d17
fix sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58160 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 21:22:29 +00:00
Vadim Zeitlin
213b5041fe
export wxActiveX stuff from core (not media) DLL ( closes #8991 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58151 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 17:44:16 +00:00
Francesco Montorsi
7256e9b6ad
remove also wxT(); it's confusing, too; do load wxstd.mo catalog after calling wxLocale::Init as to show a localized error message when opening NOTEXIST.ING; add some notes about the logic of the program
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 16:21:59 +00:00
Francesco Montorsi
bf2d9237de
remove usage of _T(); it's just confusing and it's not needed anymore; use wxTRANSLATE instead of wxGetTranslation for the 'Bad luck...' literal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:32:59 +00:00
Robert Roebling
dc813e6c7e
Added wxDataViewListCtrl, use it in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 15:04:00 +00:00
Jouk Jansen
595cf498a5
Add combo sample to compile list of OpenVMS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58134 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 14:35:19 +00:00
Vadim Zeitlin
19250b6a16
add VC6 and command line VC makefile too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58127 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 13:09:44 +00:00
Robert Roebling
8eff6c56f0
Change GetValue() and SetValue() to GetValueByRow() and SetValueByRow() in row based interface, Add wxDataViewListStore (WIP)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-16 11:23:37 +00:00
Vadim Zeitlin
b44f5137ce
link with wininet.lib under Windows to avoid linking errors in wxUSE_URL_NATIVE==1 build ( #10338 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58118 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 13:33:51 +00:00
Vadim Zeitlin
3707ff6799
added a (Windows-only) Flash sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-15 12:17:22 +00:00
Francesco Montorsi
1d0b79d8f3
add -k_T to the call to xgettext as otherwise a string of internat.cpp is not extracted
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 22:26:29 +00:00
Francesco Montorsi
7a90a4db84
add Italian translation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58108 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 22:25:05 +00:00
Francesco Montorsi
f00204d341
use wxStrnlen() and add NULL-checks in wxMsgCatalogFile::FillHash for safer handling of corrupted MO files ( closes #3151 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58106 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 19:26:14 +00:00
Francesco Montorsi
4aa1406671
s/wxWindows/wxWidgets; update wx-dev mail address
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58104 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 18:24:00 +00:00
Francesco Montorsi
d19ce8c491
add some wxIMAGE_OPTION_PNG_xxx options to wxImage and wxPNGHandler to allow the user to set the desired compression level ( closes #10372 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58103 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 17:54:38 +00:00
Francesco Montorsi
09ddabf738
no real change; just reorganize the sample splitting it in two source files
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 17:41:21 +00:00
Francesco Montorsi
d6a3ec35c8
don't crash if an item has a NULL ID
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58099 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 16:10:02 +00:00
Francesco Montorsi
eb83512732
Reenable TEST_ALL (and #define TEST_FTP in that case)
...
Fix some warnings about unused functions
Fix asserts coming from incorrect use of GetC(): new wxPutchar asserts when passing a NULL character
Remove TestThreadExec() and MyExecThread: wxExecute can be used only from the main thread
Remove TestFtpWuFtpd: we don't want to test for wu-ftp bugs and ftp.eudora.com doesn't respond anymore
Do not leak the global FTP object
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58094 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-14 14:58:47 +00:00
Jaakko Salli
b6fd0b4245
Better support for unspecified property value in wxDateProperty and DatePickerCtrl editor, especially when wxDP_ALLOWNONE is used
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 17:05:37 +00:00
Vadim Zeitlin
3c77890141
add more flexible and safer template Connect() overloads ( #10000 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 14:26:13 +00:00
Jouk Jansen
66034aba2e
Fixing/Testing sockets on OpenVMS
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58032 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-12 09:06:36 +00:00
Francesco Montorsi
85fe9f6f89
fix for PCH-less builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58025 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-11 16:23:31 +00:00
Francesco Montorsi
42fb9cdf6f
add note for wxWidgets user with a skeleton for a very minimal console app
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58016 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-11 11:24:52 +00:00
Vadim Zeitlin
349c045ab3
correct the FTP host name mungled by a too eager global search and replace in r57951
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-11 00:25:04 +00:00
Jaakko Salli
5e2ab81dbc
Added #include for wx/propgrid/advprops.h
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 12:38:52 +00:00
Jaakko Salli
0371f89b7a
Update propgrid minimal sample: Added wxEVT_PG_CHANGING handler and property value printing in wxEVT_PG_CHANGE handler
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-10 12:37:06 +00:00
Francesco Montorsi
d6accb8cd9
do not assert in wxFTP construction because of its 'staticness'; allocate it on the heap
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57951 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 16:50:43 +00:00
Francesco Montorsi
828c8f98d5
Minor samples/docview refactoring ( closes #10081 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 16:01:34 +00:00
Francesco Montorsi
545afdcd41
add const attribute to avoid lots of warnings from GCC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 15:48:13 +00:00
Francesco Montorsi
fc3762b5fc
add wxImage::Clear (patch by troelsk); closes #10141
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 15:35:59 +00:00
Francesco Montorsi
e01ea38b49
fix dialog layout
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-09 12:34:27 +00:00
Francesco Montorsi
89efaf2b65
change generic ints to enums in wxDC ( closes #9959 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57907 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 14:21:53 +00:00
Robert Roebling
e2512c2373
Make wxWrapSizer respect border around items
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-08 11:20:43 +00:00
Jaakko Salli
84dcb416c8
Updated 'Car' test to match a recent change in the sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57895 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 19:00:16 +00:00
Jaakko Salli
433969811e
Added wxPropertyGrid::SetSortFunction(); moved Sort() and SortChildren() to wxPropertyGridInterface; default sorting is now case-insensitive
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 18:53:09 +00:00
Julian Smart
68030cae69
Added wxAUI_MGR_LIVE_RESIZE flag for live sash sizing, the default on wxOSX
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 14:45:27 +00:00
Francesco Montorsi
06fe46e2ff
fix include file
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 11:11:10 +00:00
Francesco Montorsi
bd365871aa
s/wxSplitPath/wxFileName::SplitPath
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57873 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-07 01:47:47 +00:00
Francesco Montorsi
bbfe8d00e0
remove link to the old HTML manual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57858 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 16:07:25 +00:00
Francesco Montorsi
e096520b15
remove f.html and fft.html; they're old and unlinked from other test HTML pages
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-06 16:04:22 +00:00
Francesco Montorsi
954360caca
fix crash because of a missing wxOK constant
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-05 16:15:09 +00:00
Jaakko Salli
80f711024a
Added bool property to the nested car sample (for testing purposes)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 18:38:00 +00:00
Jaakko Salli
3472e2f425
Added extra RefreshEditor() call for better testing
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57826 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-04 10:37:22 +00:00
Vadim Zeitlin
05b9332789
don't use IPC from timer callback as this results in reentrancies in socket code, postpone it until the next idle handler call instead
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57808 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-03 02:21:12 +00:00
Vadim Zeitlin
38418fdeae
show the string received from client in test 2 correctly; use TestLogger just as in the client; use wxCharBuffer instead of manual new/delete
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57724 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-02 00:59:20 +00:00
Vadim Zeitlin
9c22ef28b0
add accelerators for the other menu commands; plug memory leak in OnTest3(); use wxCharBuffer instead of manual new/delete to avoid leaks in the future
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-02 00:44:32 +00:00
Vadim Zeitlin
7ea70b6f0f
don't call DoWrite() if we have nothing to send (not nothing to receive)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57720 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-02 00:04:55 +00:00
Vadim Zeitlin
0f359e5ccf
fix a bug in EventWorker::DoRead(): if both signature and the size of the incoming data were not received during the same read, the signature byte was lost and overwritten by size during the next read
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-01 23:56:52 +00:00
Vadim Zeitlin
c3bcb48f26
LogWorker() was always called with m_peer as first argument so make it a member function to avoid having to pass it all the time to it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57716 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-01 23:53:51 +00:00
Vadim Zeitlin
e2bcc7813c
no changes, just reformat and avoid unnecessary uses of wxString::Format()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57715 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2009-01-01 23:49:07 +00:00
Francesco Montorsi
fd3ece5784
remove tabs added by error in previous commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57695 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 17:31:32 +00:00
Francesco Montorsi
54e18afcca
allow the user to pass NULL for the status widths; this was a feature supported by generic and MSW status bar but was not documented; document it; add menu item in the statbar sample for testing it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 17:07:30 +00:00
Vadim Zeitlin
e9bef30205
customize the rearrange dialog even more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57691 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 14:39:38 +00:00
Vadim Zeitlin
5a5f305a0f
make wxRearrangeDialog more customizable and add an example of customizing it to the dialogs sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-31 14:26:52 +00:00
Vadim Zeitlin
f98f168e6c
compilation fix for g++ which doesn't like using wxLogMessage in wxON_BLOCK_SCOPE_EXIT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 15:06:34 +00:00
Vadim Zeitlin
1e4080f02e
prettify and simplify the URL test; use a URL more likely to run a web server than localhost by default
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 13:51:02 +00:00
Vadim Zeitlin
778f682e4d
fix compilation due to the fact that wx/socket.h no longer includes system socket headers and so AF_INET (which we don't need here in the first place) is not defined any more
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-30 00:07:48 +00:00
Francesco Montorsi
88fff2a712
use accelerators for menu items and stock menu item labels for stock IDs
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-27 14:28:46 +00:00
Francesco Montorsi
588ba23758
don't use backspace as accelerator; at least GTK+ doesn't like it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-27 14:21:35 +00:00
Vadim Zeitlin
1ddb6d2857
allow passing -1 range to SetScrollbar() to indicate the the scrollbar should be disabled and use this to implement wxSHOW_SB_ALWAYS in the generic wxScrollHelper
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 21:58:05 +00:00
Vadim Zeitlin
6362d82b3e
add wxScrollHelper::ShowScrollbars() (implemented for GTK only right now, generic implementation coming soon)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 15:58:37 +00:00
Vadim Zeitlin
0b0f6f87d5
add convenient GetViewStart() and Scroll() overloads taking wxPoint instead of 2 int[ pointer]s
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 15:11:00 +00:00
Vadim Zeitlin
9675a49d4e
add example of synchronizing 2 scrolled windows
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 14:55:49 +00:00
Vadim Zeitlin
6a5a7fba9d
reorganize scroll sample to make it possible to understand what it does both when reading its code and when running it; merged scrollsub sample in it and removed the original one
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 01:28:55 +00:00
Vadim Zeitlin
16a6495db3
call wxFlexGridSizer::AddGrowableRow() only when the sizer has enough rows for the indices to be valid
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-24 00:41:23 +00:00
Robert Roebling
b47056410d
Don't allow concurrent requests, check return message of async request
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-23 20:46:46 +00:00
Robert Roebling
311c1be9ed
Added pseudo-asynchronous clipboard implemenation to all ports excepts for GTK+
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-23 12:05:06 +00:00
Vadim Zeitlin
28f12ffb86
reverted yet another accidental commit of testing code in r57505
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-23 00:35:18 +00:00
Vadim Zeitlin
53ddede8da
use wxFlexGridSizer correctly ( fixes #10294 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-23 00:20:33 +00:00
Vadim Zeitlin
763163a80a
split wxEVT_GRID_CELL_CHANGE into wxEVT_GRID_CELL_CHANGING/ED pair for consistency with all the other controls; provide access to new/old value of the cell in the event object
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-22 22:58:49 +00:00
Robert Roebling
8b41ab4d84
Regen after adding clipboard sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-12-21 22:36:27 +00:00
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
Václav Slavík
b6e2aaace5
must close output file before reading back from it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56599 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-30 11:22:31 +00:00
Vadim Zeitlin
506e9b7ed2
rebaked using bakefile 0.2.5
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-27 16:40:51 +00:00
Robert Roebling
62957e523c
Remove wxLog hack and put all controls in a panel to test TAB traversal
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-21 18:33:31 +00:00
Jaakko Salli
a8f4019041
Removed unused data
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56423 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 15:23:42 +00:00
Jaakko Salli
68f9e025b9
Simplistic tab support is now default (tab focuses editor if unfocused, otherwise goes out of grid), no longer recognizes wxTAB_TRAVERSAL, unified key handling code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56422 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-18 15:11:44 +00:00
Robert Roebling
11339a3884
Use xpms for checked/unchecked states instead of drawing them (yielded junk)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56395 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-17 11:58:39 +00:00
Robert Roebling
ea91ff8e33
Write directly to log target wxTextCtrl to avoid crash
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 18:27:16 +00:00
Robert Roebling
896074b9ba
wxMac actually crashes in any logging
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56369 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 18:17:56 +00:00
Robert Roebling
b57748f93f
wxMac crashes in wxLog() statements with string.GetData()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 18:06:58 +00:00
Jaakko Salli
c324ed9459
Add maximum width for sample's frame
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:31:46 +00:00
Jaakko Salli
7bb89a662b
Update 'intro' comment in propgrid sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:24:27 +00:00
Jaakko Salli
1425eca550
Added virtual wxPGProperty::ValueToString(). In derived property classes, now it must be implemented instead of GetValueAsString (assertion failure is raised at run-time if you fail to do so). This change is needed to properly support wxEVT_PG_CHANGING for nested composite string properties. wxPGProperty::GenerateComposedValue() partially updated to support this.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 17:19:50 +00:00
Vadim Zeitlin
65669e3152
add very simple (but already exposing many problems) wxIPC benchmark
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 12:35:03 +00:00
Vadim Zeitlin
f34851f5af
remove obsolete makefiles
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56353 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-16 10:02:45 +00:00
Vadim Zeitlin
fa05a943e9
implement GetSizeAvailableForScrollTarget() in MyScrolledWindow
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56347 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 19:39:27 +00:00
Robert Roebling
04aac2dd12
For some reason, wxMac now requires explicit sizes in this sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 16:56:14 +00:00
Jouk Jansen
ea279fc5af
update XPM variable names for docview sample
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 11:40:55 +00:00
Vadim Zeitlin
00a1c49a77
compilation fix for wxUSE_STD_IOSTREAM==0
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-15 11:22:53 +00:00
Jaakko Salli
2fd4a52415
wxPGProperty::AddChild() can now be used to add normal child properties (previously it was only used to add private children of derived property classes such as wxFontProperty and wxFlagsProperty). However, to allow backwards compatibility, SetParentalStyle(wxPG_PROP_MISC_PARENT) needs to be called before doing so. Also done: merged property initialization code from PrepareToAddItem() and PrepareSubProperties() to InitAfterAdded().
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56309 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 17:15:59 +00:00
Vadim Zeitlin
ea84f255b1
no real changes, just come cleanup (use constants instead of hardcoded values; remove _T()s; don't allocate things on the heap unnecessarily; don't make members public or protected
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-14 13:29:26 +00:00
Vadim Zeitlin
916eabe60e
add wxGenericStaticText ( #9656 )
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56242 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-12 13:04:00 +00:00
Jaakko Salli
703ee9f5ec
GetPendingEditedValue() -> GetUncommittedPropertyValue() (more consistent API naming. Eg. there is also CommitChangesFromEditor())
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56211 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-10 15:22:08 +00:00
Robert Roebling
a400d56be1
Added test for Select()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56172 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 18:55:23 +00:00
Jaakko Salli
9b5bafcf38
Removed dysfunctional wxPGPropery::PrepareValueForDialogEditing(); Replaced its functionality with wxPropertyGrid::GetPendingEditedValue(); Added wxPropertyGrid::PerformValidation() flags so it can be called in generic context.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@56169 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-10-08 18:15:10 +00:00