]> git.saurik.com Git - wxWidgets.git/log
wxWidgets.git
17 years agoadded implicit conversion of wxString to const void * for compatibility with the...
Vadim Zeitlin [Mon, 23 Apr 2007 20:14:18 +0000 (20:14 +0000)] 
added implicit conversion of wxString to const void * for compatibility with the code doing things like file.Write(s, len)

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

17 years agouse GetParentForModalDialog() in ShowModal() to ensure we don't select a window being...
Vadim Zeitlin [Mon, 23 Apr 2007 20:09:35 +0000 (20:09 +0000)] 
use GetParentForModalDialog() in ShowModal() to ensure we don't select a window being deleted as parent

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

17 years agotest that the candidate parent window isn't being deleted (this would result in a...
Vadim Zeitlin [Mon, 23 Apr 2007 20:07:26 +0000 (20:07 +0000)] 
test that the candidate parent window isn't being deleted (this would result in a crash later)

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

17 years agorevert move events change, it blocks programmatic move events as well
Paul Cornett [Mon, 23 Apr 2007 15:37:21 +0000 (15:37 +0000)] 
revert move events change, it blocks programmatic move events as well

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

17 years agoremove wxWindow::m_needParent and use GTKNeedsParent() which can be overridden in...
Vadim Zeitlin [Mon, 23 Apr 2007 15:16:06 +0000 (15:16 +0000)] 
remove wxWindow::m_needParent and use GTKNeedsParent() which can be overridden in just wxMenuBar (and not set in each and every wxGTK control)

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

17 years ago Typo in docs [ 1693034 ] 2.8.3: wrong docs for wxCHECK_W32API_VERSION
Robert Roebling [Mon, 23 Apr 2007 09:28:08 +0000 (09:28 +0000)] 
  Typo in docs [ 1693034 ] 2.8.3: wrong docs for wxCHECK_W32API_VERSION

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

17 years agodon't send move events for size changes
Paul Cornett [Mon, 23 Apr 2007 04:44:51 +0000 (04:44 +0000)] 
don't send move events for size changes

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

17 years agofix return type for "map_event" and "unmap_event" handlers
Paul Cornett [Mon, 23 Apr 2007 04:33:47 +0000 (04:33 +0000)] 
fix return type for "map_event" and "unmap_event" handlers

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

17 years agoreally ensure that the window being centered is fully visible (fixes bug reported...
Vadim Zeitlin [Sun, 22 Apr 2007 23:07:28 +0000 (23:07 +0000)] 
really ensure that the window being centered is fully visible (fixes bug reported in patch 1683239); also place it on the same display as its parent, if any

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

17 years agocompilation fixes for PCH-less build
Vadim Zeitlin [Sun, 22 Apr 2007 22:20:57 +0000 (22:20 +0000)] 
compilation fixes for PCH-less build

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

17 years agoadded wxStdDialogButtonSizer test (patch 1705382)
Vadim Zeitlin [Sun, 22 Apr 2007 21:25:24 +0000 (21:25 +0000)] 
added wxStdDialogButtonSizer test (patch 1705382)

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

17 years agodetect if there was an error in standard GTK+ options processing and exit in such...
Vadim Zeitlin [Sun, 22 Apr 2007 21:19:53 +0000 (21:19 +0000)] 
detect if there was an error in standard GTK+ options processing and exit in such case

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

17 years agoupdate wxApp::argc/argv to remove the options parsed by GTK+ itself from them
Vadim Zeitlin [Sun, 22 Apr 2007 21:17:49 +0000 (21:17 +0000)] 
update wxApp::argc/argv to remove the options parsed by GTK+ itself from them

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

17 years agoadded wxAppTraits::GetStandardCmdLineOptions() allowing to add the description of...
Vadim Zeitlin [Sun, 22 Apr 2007 20:54:07 +0000 (20:54 +0000)] 
added wxAppTraits::GetStandardCmdLineOptions() allowing to add the description of the standard toolkit options to the usage message and implement it for wxGTK2 (patch 1703077)

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

17 years agoadded wxDialog::GetParentForModalDialog() and use it to try to always create modal...
Vadim Zeitlin [Sun, 22 Apr 2007 20:34:41 +0000 (20:34 +0000)] 
added wxDialog::GetParentForModalDialog() and use it to try to always create modal dialogs with a parent (slightly modified patch 1702962)

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

17 years agoadded HasExtraStyle()
Vadim Zeitlin [Sun, 22 Apr 2007 20:30:39 +0000 (20:30 +0000)] 
added HasExtraStyle()

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

17 years agodon't pass unneeded arguments to AdustForGrowables()
Vadim Zeitlin [Sun, 22 Apr 2007 20:27:36 +0000 (20:27 +0000)] 
don't pass unneeded arguments to AdustForGrowables()

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

17 years agoadd m_ prefix to the member variables and remove unneeded dialogParent field (part...
Vadim Zeitlin [Sun, 22 Apr 2007 20:20:51 +0000 (20:20 +0000)] 
add m_ prefix to the member variables and remove unneeded dialogParent field (part of patch 1702962)

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

17 years agodon't leave pixels due to rounding errors in wxBoxSizer, allocate the extra pixels...
Vadim Zeitlin [Sun, 22 Apr 2007 19:32:38 +0000 (19:32 +0000)] 
don't leave pixels due to rounding errors in wxBoxSizer, allocate the extra pixels to the last item(s) instead, as wxFlexGridSizer (now) does

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

17 years agoMany changes/fixes to wxFlexGridSizer implementation (no API changes):
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

17 years agoupdated SetFont() documentation: it returns bool, not void (bug 1705330)
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

17 years agofix double to int conversion warning
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

17 years agodon't leave gaps around hidden columns/rows in wxFlexGridSizer (closes bug 1659872...
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

17 years agodistribute only the extra, free, space according to the items proportions in wxBoxSiz...
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

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