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 |
|