]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years ago(blind) compilation fixes after latest changes
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

17 years agodon't pass 0 time_t to Borland localtime(), it crashes (bug 1704438); also check...
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

17 years agoReturn wx menu items inserted into the Window system menu, similar to what we do...
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

17 years agoFix bug with m_current causing EVT_LIST_KEY_DOWN events not to fire in virtual mode...
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

17 years agodon't let def window proc start another drag operation if we just started one ourselv...
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

17 years agoadded support for image resolution options to PNG handler (heavily modified patch...
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

17 years agoallow having children of status bar in XRC (patch 1704125)
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

17 years agoreadded wxEditableListBox as part of adv library
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

17 years agoadded safe check for Pango version and use it to avoid underline hack in wxDC::DrawTe...
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

17 years agoadd missing dynarray.h includes (patch 1702312)
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

17 years agoadded wxStreamBuffer::Truncate() (patch 1687081)
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

17 years agoremove redundant GTK_WIDGET casts
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

17 years agofix WXDLLIMPEXP_STC definition when building all wx libraries as DLLs (patch 1704527)
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

17 years agofix bug with not updating the last line correctly when a group was deleted and recrea...
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

17 years agooops, restored wrongly removed semicolon
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

17 years agoremoved extraneous semicolons
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

17 years agoRemove Objective-C class posing for everything except for NSApplication.
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

17 years agoMove Objective-C interfaces into separate header files in preparation for being able...
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

17 years agoadd const to avoid hiding warning
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

17 years agofixed bug when a fixed pane is resized inside a fixed dock
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

17 years ago Committing in .
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

17 years ago Committing in .
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

17 years agoadd const to avoid hiding warning
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

17 years agofix unused parameters warnings
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

17 years agocorrected DLL export declaration of wxTimerEvent to fix VC++ DLL build
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

17 years agopreparation for allowing to use wxTimer in wxBase (heavily modified patch 1113088):
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

17 years agoremoved extra membersections (patch 1702329)
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

17 years agocreate the spin control with the correct range instead of setting it later which...
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

17 years agocompilation fix (misplaced comma in OnIdle)
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

17 years agofixed wxCStrData::operator[] to use wxString::operator[] instead of at()
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

17 years agoadded tests for wxCStrData::operator* and operator[]
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

17 years agoReorganize idle system code.
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

17 years ago Fix inplace editing of custom controls for
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

17 years agoadded missing forward declaration for wxCStrData
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

17 years agofixed compilation of STL non-UTF8 builds
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

17 years agomoved primitive string and string iterators operations to stringops.h/cpp files to...
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

17 years agomoved vararg CRT functions wrappers to a new wxcrtvararg.h header
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

17 years agomoved vararg CRT functions wrappers to a new wxcrtvararg.h header
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

17 years agoremoved obsolete wxUSE_WX_RESOURCES check
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

17 years agonon-pch build fix
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

17 years ago Corrected/implemented sorting (by way of clicking on
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

17 years agofixed DLL linking of wxMessageOutput class
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

17 years ago Escape slashes.
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

17 years ago Doc correction.
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

17 years agocompilation fix
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

17 years ago Updated wxDataViewCtrl docs.
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

17 years agowx.lib.flatnotebook: Patch from Andrea that implements the following:
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

17 years agoPatch from Andrea that fixes the following problems/issues:
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

17 years agoadded conversion to and from std::string and std::wstring (if wxUSE_STD_STRING)
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

17 years ago Implemented the same simple API for creating customized
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

17 years agoadd wxUSE_STC wrappers
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

17 years agocompilation fix for PCH-less compilation
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

17 years agocompilation fix for PCH-less compilation after last commit
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

17 years agoMore fixes needed for allowing classes to be derived from PyAuiDockArt
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

17 years agoreverted last change as using pango_version_check() (unavailable in the old Pango...
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

17 years agoreSWIGged
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

17 years agowxMac has wxGLContext.SetCurrent now
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

17 years agoAdd wxCONTROL_FLAT
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

17 years agoAdd wxAPPLY, wxCLOSE
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

17 years agoAdd wxSVGFileDC
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

17 years agoUser lower case property names in wx.DateSpan and wx.TimeSpan in order
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

17 years agoDon't use m_popupInterface pointer if it is still NULL
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

17 years agoFix DLL compilation
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

17 years agoPatch from FN that fixes bug in RefreshItem on an item that has no
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

17 years agocall gtk_file_chooser_set_current_folder even if the default file name is empty ...
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

17 years agocorrected the direction of comparisons between wxString and char/wxChar strings
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

17 years agoremoved superfluos semicolon
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

17 years ago Rewritten in-place editing for generic wxDataViewCtrl
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

17 years agoadded wxMBConv argument to char_str()
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

17 years agoadded wxCStrData::As[W]CharBuf() that doesn't keep converted string in memory for...
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

17 years agomore native look for wxCheckListBox (especially under XP) (modified patch 1690068)
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

17 years agoadded new wxCONTROL_FLAT bit (see discussion of patch 1691478)
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

17 years agouse wxRenderer::DrawCheckBox() instead of doing it manually
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

17 years agoimplement DrawCheckBox() in class Win32 renderer (modified patch 1691478)
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

17 years agodon't erase background in GL canvases to reduce flicker
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

17 years agoadded #ifdef __X__ forgotten in last commit
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

17 years agouse IsShownOnScreen() in OnSize() to ensure that the window is realized (important...
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

17 years agofix handling of stock menu items (creating a stock item without label left its label...
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

17 years agoRefactor all code common to X11 OpenGL implementations into glx11.h/.cpp
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

17 years agoadded wxGetX11Display() returning the pointer of the correct type, unlike the old...
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

17 years agoremoved implicit conversion from wxString::iterator to wxStringImpl::iterator (fixes...
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

17 years agocompilation fix for VC6 with wxUSE_STL=1
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

17 years agoremoved unnecessary return in a void function
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

17 years agoadded back SetCurrent() call accidentally removed in one of recent commits
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

17 years agouse slightly more light
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

17 years agouse textures in the shared context to test how this works when using multiple windows...
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

17 years ago Make wxClassInfo attributes private. Replace
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

17 years agoimplement wxString:IsXXX() methods using iterators
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

17 years agoreorganized the code to put the logic in wxGLContext-derived class but keep the state...
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

17 years agoadjust the window coordinates for parent client area origin when in Create() too...
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

17 years agoadded wxRTTI macros to stream classes (patch 1687073)
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

17 years agoadded overloads of ctor/insert/assign/append taking a pair of wxCStrData objects...
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

17 years agodon't compile Scintilla sources with -Wall
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

17 years agofixed the order of aboutdlg.h file
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

17 years ago Add test for Validate()
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

17 years ago Text alignment is for GTK 2.10 and above only.
Robert Roebling [Sat, 14 Apr 2007 17:58:49 +0000 (17:58 +0000)] 
  Text alignment is for GTK 2.10 and above only.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agofix assert on gtk
Paul Cornett [Sat, 14 Apr 2007 17:39:48 +0000 (17:39 +0000)] 
fix assert on gtk

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadded ability to create 'non-owned' buffers that aren't freed by wxCharBuffer dtor
Václav Slavík [Sat, 14 Apr 2007 16:58:48 +0000 (16:58 +0000)] 
added ability to create 'non-owned' buffers that aren't freed by wxCharBuffer dtor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45466 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoVC6 compilation fix
Václav Slavík [Sat, 14 Apr 2007 16:06:50 +0000 (16:06 +0000)] 
VC6 compilation fix

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

17 years agoadd svg in new location
Chris Elliott [Sat, 14 Apr 2007 15:52:07 +0000 (15:52 +0000)] 
add svg in new location

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775