]>
git.saurik.com Git - wxWidgets.git/log
Vadim Zeitlin [Sun, 22 Apr 2007 19:20:14 +0000 (19:20 +0000)]
Many changes/fixes to wxFlexGridSizer implementation (no API changes):
- fix the problems addressed by the patch
1667343 :
* only distribute extra space between growable items, not all space
* take hidden items and gaps into account for ALL grow mode layout
* fix rounding errors by allocating the remaining pixels to the last item(s)
- refactor the code to avoid duplication between row/column cases
- use STL-like wxList methods instead of compatibility ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45583
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Apr 2007 17:47:08 +0000 (17:47 +0000)]
updated SetFont() documentation: it returns bool, not void (bug
1705330 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45581
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sun, 22 Apr 2007 17:43:14 +0000 (17:43 +0000)]
fix double to int conversion warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45580
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Apr 2007 15:14:36 +0000 (15:14 +0000)]
don't leave gaps around hidden columns/rows in wxFlexGridSizer (closes bug
1659872 ; part of patch
1667343 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45578
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Apr 2007 12:50:01 +0000 (12:50 +0000)]
distribute only the extra, free, space according to the items proportions in wxBoxSizer and not the entire available space
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45577
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Apr 2007 12:31:08 +0000 (12:31 +0000)]
(blind) compilation fixes after latest changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45576
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 22 Apr 2007 00:03:16 +0000 (00:03 +0000)]
don't pass 0 time_t to Borland localtime(), it crashes (bug
1704438 ); also check for error return from both localtime() and gmtime()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45573
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 21 Apr 2007 23:01:28 +0000 (23:01 +0000)]
Return wx menu items inserted into the Window system menu, similar to what we do for Help and application menus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45570
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Kevin Ollivier [Sat, 21 Apr 2007 21:44:31 +0000 (21:44 +0000)]
Fix bug with m_current causing EVT_LIST_KEY_DOWN events not to fire in virtual mode, also added handler for navigation keys and tweaked the virtual code for setting selection.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45569
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Apr 2007 21:14:59 +0000 (21:14 +0000)]
don't let def window proc start another drag operation if we just started one ourselves for a multiselection tree (replaces patch
1702133 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45568
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Apr 2007 19:29:01 +0000 (19:29 +0000)]
added support for image resolution options to PNG handler (heavily modified patch
1704128 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45567
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Apr 2007 18:57:50 +0000 (18:57 +0000)]
allow having children of status bar in XRC (patch
1704125 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45566
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Apr 2007 18:50:50 +0000 (18:50 +0000)]
readded wxEditableListBox as part of adv library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45565
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Apr 2007 18:32:29 +0000 (18:32 +0000)]
added safe check for Pango version and use it to avoid underline hack in wxDC::DrawText() (modified patch
1702301 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45564
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Apr 2007 18:13:48 +0000 (18:13 +0000)]
add missing dynarray.h includes (patch
1702312 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45562
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Apr 2007 18:11:37 +0000 (18:11 +0000)]
added wxStreamBuffer::Truncate() (patch
1687081 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45561
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Sat, 21 Apr 2007 17:02:29 +0000 (17:02 +0000)]
remove redundant GTK_WIDGET casts
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45560
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Apr 2007 15:13:37 +0000 (15:13 +0000)]
fix WXDLLIMPEXP_STC definition when building all wx libraries as DLLs (patch
1704527 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45559
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Apr 2007 15:04:52 +0000 (15:04 +0000)]
fix bug with not updating the last line correctly when a group was deleted and recreated (bug
1685312 ); added a unit test for this
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45557
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Apr 2007 14:58:46 +0000 (14:58 +0000)]
oops, restored wrongly removed semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45556
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 21 Apr 2007 10:52:48 +0000 (10:52 +0000)]
removed extraneous semicolons
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45555
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Fri, 20 Apr 2007 22:27:56 +0000 (22:27 +0000)]
Remove Objective-C class posing for everything except for NSApplication.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45554
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
David Elliott [Fri, 20 Apr 2007 20:21:52 +0000 (20:21 +0000)]
Move Objective-C interfaces into separate header files in preparation for being able to use them from other source files.
No new or changed code. Work on behalf of Software 2000 Ltd.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45553
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Fri, 20 Apr 2007 11:03:28 +0000 (11:03 +0000)]
add const to avoid hiding warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45552
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Benjamin Williams [Fri, 20 Apr 2007 09:03:43 +0000 (09:03 +0000)]
fixed bug when a fixed pane is resized inside a fixed dock
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45551
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Fri, 20 Apr 2007 08:29:15 +0000 (08:29 +0000)]
Committing in .
Update OpenVMS compile support
Modified Files:
wxWidgets/src/common/descrip.mms
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45549
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Jouk Jansen [Fri, 20 Apr 2007 08:16:48 +0000 (08:16 +0000)]
Committing in .
Modified Files:
wxWidgets/descrip.mms wxWidgets/setup.h_vms
OpenVMS build update
wxWidgets/include/wx/unix/glx11.h
Removed superfluous semi-colon
wxWidgets/samples/db/dbtest.cpp
wxWidgets/samples/db/listdb.cpp
fixed wxString cast problems
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45548
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Chris Elliott [Fri, 20 Apr 2007 08:09:06 +0000 (08:09 +0000)]
add const to avoid hiding warning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45547
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 20 Apr 2007 01:40:13 +0000 (01:40 +0000)]
fix unused parameters warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45546
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 20 Apr 2007 01:39:17 +0000 (01:39 +0000)]
corrected DLL export declaration of wxTimerEvent to fix VC++ DLL build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45545
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 20 Apr 2007 01:29:16 +0000 (01:29 +0000)]
preparation for allowing to use wxTimer in wxBase (heavily modified patch
1113088 ):
1. Changed wxTimer to use wxTimerImpl
2. Added Unix-specific generic timer implementation
3. Added wxAppTraits::CreateTimerImpl()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45544
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 20 Apr 2007 01:21:00 +0000 (01:21 +0000)]
removed extra membersections (patch
1702329 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45543
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Fri, 20 Apr 2007 01:16:16 +0000 (01:16 +0000)]
create the spin control with the correct range instead of setting it later which results in unwanted events and a crash (patch
1702847 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45541
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Thu, 19 Apr 2007 22:13:21 +0000 (22:13 +0000)]
compilation fix (misplaced comma in OnIdle)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45540
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 19 Apr 2007 18:33:35 +0000 (18:33 +0000)]
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
Václav Slavík [Thu, 19 Apr 2007 18:28:26 +0000 (18:28 +0000)]
added tests for wxCStrData::operator* and operator[]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45538
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Thu, 19 Apr 2007 16:58:07 +0000 (16:58 +0000)]
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
Robert Roebling [Thu, 19 Apr 2007 12:47:47 +0000 (12:47 +0000)]
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
Václav Slavík [Thu, 19 Apr 2007 11:25:34 +0000 (11:25 +0000)]
added missing forward declaration for wxCStrData
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45535
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 19 Apr 2007 10:57:35 +0000 (10:57 +0000)]
fixed compilation of STL non-UTF8 builds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45534
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Thu, 19 Apr 2007 10:05:55 +0000 (10:05 +0000)]
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
Václav Slavík [Thu, 19 Apr 2007 08:04:34 +0000 (08:04 +0000)]
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
Václav Slavík [Thu, 19 Apr 2007 07:44:16 +0000 (07:44 +0000)]
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
Vadim Zeitlin [Thu, 19 Apr 2007 01:05:41 +0000 (01:05 +0000)]
removed obsolete wxUSE_WX_RESOURCES check
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45530
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Paul Cornett [Wed, 18 Apr 2007 17:15:56 +0000 (17:15 +0000)]
non-pch build fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45528
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 18 Apr 2007 12:31:35 +0000 (12:31 +0000)]
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
Václav Slavík [Wed, 18 Apr 2007 09:34:35 +0000 (09:34 +0000)]
fixed DLL linking of wxMessageOutput class
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45526
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 18 Apr 2007 08:44:18 +0000 (08:44 +0000)]
Escape slashes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45525
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Wed, 18 Apr 2007 08:37:18 +0000 (08:37 +0000)]
Doc correction.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45524
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Wed, 18 Apr 2007 08:32:19 +0000 (08:32 +0000)]
compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45523
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Tue, 17 Apr 2007 20:36:00 +0000 (20:36 +0000)]
Updated wxDataViewCtrl docs.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45522
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Tue, 17 Apr 2007 16:40:05 +0000 (16:40 +0000)]
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
Robin Dunn [Tue, 17 Apr 2007 16:26:28 +0000 (16:26 +0000)]
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
Václav Slavík [Tue, 17 Apr 2007 15:32:05 +0000 (15:32 +0000)]
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
Robert Roebling [Tue, 17 Apr 2007 12:08:10 +0000 (12:08 +0000)]
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
Paul Cornett [Tue, 17 Apr 2007 05:48:09 +0000 (05:48 +0000)]
add wxUSE_STC wrappers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45517
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 17 Apr 2007 01:22:03 +0000 (01:22 +0000)]
compilation fix for PCH-less compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45516
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Tue, 17 Apr 2007 01:19:43 +0000 (01:19 +0000)]
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
Robin Dunn [Mon, 16 Apr 2007 23:28:30 +0000 (23:28 +0000)]
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
Vadim Zeitlin [Mon, 16 Apr 2007 21:46:59 +0000 (21:46 +0000)]
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
Robin Dunn [Mon, 16 Apr 2007 19:43:08 +0000 (19:43 +0000)]
reSWIGged
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45511
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 16 Apr 2007 19:27:28 +0000 (19:27 +0000)]
wxMac has wxGLContext.SetCurrent now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45510
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 16 Apr 2007 19:26:44 +0000 (19:26 +0000)]
Add wxCONTROL_FLAT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45509
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 16 Apr 2007 19:25:45 +0000 (19:25 +0000)]
Add wxAPPLY, wxCLOSE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45508
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 16 Apr 2007 19:23:35 +0000 (19:23 +0000)]
Add wxSVGFileDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45507
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 16 Apr 2007 19:16:57 +0000 (19:16 +0000)]
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
Robin Dunn [Mon, 16 Apr 2007 19:05:47 +0000 (19:05 +0000)]
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
Robin Dunn [Mon, 16 Apr 2007 19:04:56 +0000 (19:04 +0000)]
Fix DLL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45504
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robin Dunn [Mon, 16 Apr 2007 18:59:00 +0000 (18:59 +0000)]
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
Vadim Zeitlin [Mon, 16 Apr 2007 18:21:46 +0000 (18:21 +0000)]
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
Vadim Zeitlin [Mon, 16 Apr 2007 14:56:51 +0000 (14:56 +0000)]
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
Vadim Zeitlin [Mon, 16 Apr 2007 14:20:42 +0000 (14:20 +0000)]
removed superfluos semicolon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45499
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Mon, 16 Apr 2007 12:45:25 +0000 (12:45 +0000)]
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
Václav Slavík [Mon, 16 Apr 2007 11:04:35 +0000 (11:04 +0000)]
added wxMBConv argument to char_str()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45496
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Mon, 16 Apr 2007 06:59:04 +0000 (06:59 +0000)]
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
Vadim Zeitlin [Mon, 16 Apr 2007 01:26:13 +0000 (01:26 +0000)]
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
Vadim Zeitlin [Mon, 16 Apr 2007 01:22:46 +0000 (01:22 +0000)]
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
Vadim Zeitlin [Mon, 16 Apr 2007 00:53:05 +0000 (00:53 +0000)]
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
Vadim Zeitlin [Mon, 16 Apr 2007 00:51:31 +0000 (00:51 +0000)]
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
Vadim Zeitlin [Sun, 15 Apr 2007 23:29:45 +0000 (23:29 +0000)]
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
Vadim Zeitlin [Sun, 15 Apr 2007 23:21:56 +0000 (23:21 +0000)]
added #ifdef __X__ forgotten in last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45489
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 15 Apr 2007 23:09:46 +0000 (23:09 +0000)]
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
Vadim Zeitlin [Sun, 15 Apr 2007 23:08:19 +0000 (23:08 +0000)]
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
Vadim Zeitlin [Sun, 15 Apr 2007 23:06:45 +0000 (23:06 +0000)]
Refactor all code common to X11 OpenGL implementations into glx11.h/.cpp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45486
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 15 Apr 2007 22:54:36 +0000 (22:54 +0000)]
added wxGetX11Display() returning the pointer of the correct type, unlike the old wxGetDisplay()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45485
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 15 Apr 2007 19:02:38 +0000 (19:02 +0000)]
removed implicit conversion from wxString::iterator to wxStringImpl::iterator (fixes VC6 compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45484
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 15 Apr 2007 18:47:19 +0000 (18:47 +0000)]
compilation fix for VC6 with wxUSE_STL=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45483
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 15 Apr 2007 16:43:37 +0000 (16:43 +0000)]
removed unnecessary return in a void function
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45482
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 15 Apr 2007 15:23:05 +0000 (15:23 +0000)]
added back SetCurrent() call accidentally removed in one of recent commits
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45481
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 15 Apr 2007 15:21:25 +0000 (15:21 +0000)]
use slightly more light
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45480
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 15 Apr 2007 15:13:49 +0000 (15:13 +0000)]
use textures in the shared context to test how this works when using multiple windows with the same context
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45479
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Mattia Barbon [Sun, 15 Apr 2007 11:43:37 +0000 (11:43 +0000)]
Make wxClassInfo attributes private. Replace
direct access to sm_classTable with a (const) iterator
interface.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45478
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sun, 15 Apr 2007 10:07:40 +0000 (10:07 +0000)]
implement wxString:IsXXX() methods using iterators
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45477
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 15 Apr 2007 00:54:32 +0000 (00:54 +0000)]
reorganized the code to put the logic in wxGLContext-derived class but keep the state in the window
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45476
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sun, 15 Apr 2007 00:28:05 +0000 (00:28 +0000)]
adjust the window coordinates for parent client area origin when in Create() too and not only in DoSetSize()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45474
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 14 Apr 2007 23:35:13 +0000 (23:35 +0000)]
added wxRTTI macros to stream classes (patch
1687073 )
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45473
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Vadim Zeitlin [Sat, 14 Apr 2007 23:15:57 +0000 (23:15 +0000)]
added overloads of ctor/insert/assign/append taking a pair of wxCStrData objects to allow compilation of expression like wxString(s.c_str()+1, s.c_str()+2) (fixes wxUniv compilation)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45472
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 14 Apr 2007 19:05:45 +0000 (19:05 +0000)]
don't compile Scintilla sources with -Wall
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45471
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Václav Slavík [Sat, 14 Apr 2007 18:27:03 +0000 (18:27 +0000)]
fixed the order of aboutdlg.h file
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45470
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775
Robert Roebling [Sat, 14 Apr 2007 17:59:56 +0000 (17:59 +0000)]
Add test for Validate()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45469
c3d73ce0 -8a6f-49c7-b76d-
6d57e0e08775