Vadim Zeitlin
5cb837400e
compilation fix (misplaced comma in OnIdle)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 22:13:21 +00:00
Václav Slavík
378964d49d
fixed wxCStrData::operator[] to use wxString::operator[] instead of at()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 18:33:35 +00:00
Václav Slavík
3a69bca110
added tests for wxCStrData::operator* and operator[]
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 18:28:26 +00:00
Paul Cornett
a1abca322f
Reorganize idle system code.
...
Installing idle handler from GTK callbacks is no longer necessary.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 16:58:07 +00:00
Robert Roebling
30715fa195
Fix inplace editing of custom controls for
...
GTK+ variant of wxDataViewCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45536 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 12:47:47 +00:00
Václav Slavík
8db4a5d27a
added missing forward declaration for wxCStrData
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45535 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 11:25:34 +00:00
Václav Slavík
82a99c692c
fixed compilation of STL non-UTF8 builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 10:57:35 +00:00
Václav Slavík
467175ab3f
moved primitive string and string iterators operations to stringops.h/cpp files to make wxString code easier to read
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 10:05:55 +00:00
Václav Slavík
e7308074d8
moved vararg CRT functions wrappers to a new wxcrtvararg.h header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45532 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 08:04:34 +00:00
Václav Slavík
e713a90b3f
moved vararg CRT functions wrappers to a new wxcrtvararg.h header
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45531 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 07:44:16 +00:00
Vadim Zeitlin
cc4d99cfb7
removed obsolete wxUSE_WX_RESOURCES check
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-19 01:05:41 +00:00
Paul Cornett
819850ff06
non-pch build fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 17:15:56 +00:00
Robert Roebling
c3112d560e
Corrected/implemented sorting (by way of clicking on
...
on the header button) for the generic code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 12:31:35 +00:00
Václav Slavík
b553626907
fixed DLL linking of wxMessageOutput class
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45526 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 09:34:35 +00:00
Robert Roebling
7a4523c810
Escape slashes.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45525 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 08:44:18 +00:00
Robert Roebling
81a220373b
Doc correction.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 08:37:18 +00:00
Václav Slavík
21e3e3bc75
compilation fix
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45523 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-18 08:32:19 +00:00
Robert Roebling
305c49a1a9
Updated wxDataViewCtrl docs.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45522 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 20:36:00 +00:00
Robin Dunn
5cc18d7986
wx.lib.flatnotebook: Patch from Andrea that implements the following:
...
* A new style FNB_FF2: my intentions were to make it like Firefox 2,
however it turned out to be an hybrid between wxAUI notebook glose
style & FF2 ...I still think it looks OK. The main purpose for
making it more like wxAUI is to allow applications that uses both
to have same look and feel (or as close as it can get...);
* Changed the behavior of the left/right rotation arrows to rotate
single tab at a time and not bulk of tabs;
* Updated the demo module.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45521 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 16:40:05 +00:00
Robin Dunn
be3eff6271
Patch from Andrea that fixes the following problems/issues:
...
a) ZeroDivisionError when using the Vista selection style and calling
SelectItem; for some strange reason, sometimes the item rect is not
initialized and that generates the ZeroDivisionError when painting the
selection rectangle;
b) Added a DeleteWindow method to GenericTreeItem class, for items
that hold a widget next to them;
c) Renamed CustomTreeCtrl method IsEnabled to IsItemEnabled, otherwise
it conflicts with wx.Window.IsEnabled;
d) Now CustomTreeCtrl behaves correctly when the widget attached to an
item is narrower (in height) than the item text;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 16:26:28 +00:00
Václav Slavík
59953bf4ba
added conversion to and from std::string and std::wstring (if wxUSE_STD_STRING)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45519 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 15:32:05 +00:00
Robert Roebling
1e510b1e2d
Implemented the same simple API for creating customized
...
in-place editing controls for GTK+ and the generic
version and demonstrate its use in the sample using
a wxSpinCtrl.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45518 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 12:08:10 +00:00
Paul Cornett
29825f5fc4
add wxUSE_STC wrappers
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 05:48:09 +00:00
Vadim Zeitlin
70eca0fa29
compilation fix for PCH-less compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 01:22:03 +00:00
Vadim Zeitlin
4a36f6b0a2
compilation fix for PCH-less compilation after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45515 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-17 01:19:43 +00:00
Robin Dunn
8f7ed3f3a5
More fixes needed for allowing classes to be derived from PyAuiDockArt
...
and PyAuiTabArt.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 23:28:30 +00:00
Vadim Zeitlin
d6a54ad7c8
reverted last change as using pango_version_check() (unavailable in the old Pango versions) makes wx applications impossible to run on older systems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 21:46:59 +00:00
Robin Dunn
a78303202f
reSWIGged
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45511 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:43:08 +00:00
Robin Dunn
e6c222e712
wxMac has wxGLContext.SetCurrent now
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:27:28 +00:00
Robin Dunn
41b2b34b1b
Add wxCONTROL_FLAT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:26:44 +00:00
Robin Dunn
927773c764
Add wxAPPLY, wxCLOSE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:25:45 +00:00
Robin Dunn
3eddc6bc00
Add wxSVGFileDC
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:23:35 +00:00
Robin Dunn
9b89d98dac
User lower case property names in wx.DateSpan and wx.TimeSpan in order
...
to not conflict with static methods with same names.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45506 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:16:57 +00:00
Robin Dunn
0da1f4c072
Don't use m_popupInterface pointer if it is still NULL
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45505 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:05:47 +00:00
Robin Dunn
a55e4e4260
Fix DLL compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45504 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 19:04:56 +00:00
Robin Dunn
7d36c6a8eb
Patch from FN that fixes bug in RefreshItem on an item that has no
...
corresponding node in the tree yet (because its parent isn't expanded
yet) triggered an exception.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45503 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 18:59:00 +00:00
Vadim Zeitlin
3a41827a6d
call gtk_file_chooser_set_current_folder even if the default file name is empty (but default directory isn't) (bug 1701682)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45501 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 18:21:46 +00:00
Vadim Zeitlin
831faf970a
corrected the direction of comparisons between wxString and char/wxChar strings
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45500 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 14:56:51 +00:00
Vadim Zeitlin
178d7ec235
removed superfluos semicolon
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 14:20:42 +00:00
Robert Roebling
99d471a5db
Rewritten in-place editing for generic wxDataViewCtrl
...
moving the code (partly) to the renderer and away
from the wxDataViewCtrl class. Adding new in-plae
editors (wxChoice) should be much simpler now.
Also implemented using Validate() before committing
a change to the data model.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45497 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 12:45:25 +00:00
Václav Slavík
8060b0be0e
added wxMBConv argument to char_str()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45496 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 11:04:35 +00:00
Václav Slavík
681e441286
added wxCStrData::As[W]CharBuf() that doesn't keep converted string in memory for longer than needed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 06:59:04 +00:00
Vadim Zeitlin
ff0d9d83cd
more native look for wxCheckListBox (especially under XP) (modified patch 1690068)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 01:26:13 +00:00
Vadim Zeitlin
8a46124968
added new wxCONTROL_FLAT bit (see discussion of patch 1691478)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 01:22:46 +00:00
Vadim Zeitlin
d4adf63ba3
use wxRenderer::DrawCheckBox() instead of doing it manually
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45492 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 00:53:05 +00:00
Vadim Zeitlin
59ee63e934
implement DrawCheckBox() in class Win32 renderer (modified patch 1691478)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-16 00:51:31 +00:00
Vadim Zeitlin
15b239c0eb
don't erase background in GL canvases to reduce flicker
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45490 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:29:45 +00:00
Vadim Zeitlin
dc2819335f
added #ifdef __X__ forgotten in last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45489 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:21:56 +00:00
Vadim Zeitlin
0ce4fad6ae
use IsShownOnScreen() in OnSize() to ensure that the window is realized (important for X11-based ports) before trying to create an associated context
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45488 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:09:46 +00:00
Vadim Zeitlin
010eb424bb
fix handling of stock menu items (creating a stock item without label left its label empty)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-04-15 23:08:19 +00:00