Commit Graph

10336 Commits

Author SHA1 Message Date
Robin Dunn
361349fe79 Add MacHideApp
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52011 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 20:39:11 +00:00
Václav Slavík
7f427f9cc2 fixed wxBitmapButton to use focus and hover bitmaps correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@52007 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-22 19:57:54 +00:00
Vadim Zeitlin
d680d60989 add check for minimal BCC version as well as message advising to turn _USE_OLD_RW_STL on for BCC 5.6 [backport from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51919 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 16:50:32 +00:00
Vadim Zeitlin
74ad534dd4 implement wxRadioBox::Reparent(): it didn't reparent the radio buttons (patch 1891030)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 02:43:29 +00:00
David Elliott
136e8c5ca0 Backport 51895 & 51896 which define HAVE_DLOPEN/HAVE_DLERROR when configure
is run on an OS X system supporting them (everything >= 10.3).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-19 00:25:05 +00:00
David Elliott
3869473778 Limit wxListBox best size to 100x100. Particularly important on trunk where
the best size is not cached and will thus keep telling the sizers that the
best size is the full size of the content (i.e. such that you wouldn't need
to scroll it).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:51:29 +00:00
David Elliott
ee528046a4 Ensure that the NSTableColumn width is that of its largest item to enable
horizontal scrolling in wxListBox.
Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51892 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 21:13:58 +00:00
David Elliott
23c7aef4b7 Add a new macro to the Objective-C uniquifying support that allows a
uniquified class to be a subclasses of another uniquified class.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51891 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-18 20:36:16 +00:00
Vadim Zeitlin
0d61322672 add ka_GE, ku_TR and ne_NP; some cleanup and better handling of sr_XX (patch 1858926)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 20:11:17 +00:00
Stefan Csomor
0bed86c449 going private again
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-17 08:58:11 +00:00
Stefan Csomor
ea6164c71f wxstat fn_str() aftermath ..
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 21:33:37 +00:00
Stefan Neis
179c53bbaa Backported bitmap drawing under Win9x and 2000 (not supporting alpha
transparency) from r51031 (modified patch 1761598).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-16 01:59:21 +00:00
David Elliott
f033c4562a Move wxWindowCocoaScrollView class into its own header.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-14 20:40:16 +00:00
Vadim Zeitlin
cc6d111a24 set listview extended styles after switching to report view and not only when creating it (bug 1874996) [backport of 51390 from trunk]
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51773 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:46:30 +00:00
Vadim Zeitlin
ed4b62eaba don't define HAVE_FSYNC if it's already defined (as it can happen when using Cygwin with configure)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51770 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:39:32 +00:00
Vadim Zeitlin
3d0ae18d75 initialize the colour to be invalid if the name passed to the ctor is invalid (bug 1891235)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 22:36:43 +00:00
Julian Smart
35e93e199f Further fixes, for selected text display and new paragraph insertion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-13 14:24:37 +00:00
Vadim Zeitlin
3fc67306a4 implement wxListBox::EnsureVisible() in wxGTK; add a test for it to the widgets sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-11 16:03:23 +00:00
Vadim Zeitlin
d05d5c1687 don't lose the contents of the combobox if it was set to a value not in a list and a popup has been opened and closed (patch 1883474)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51616 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-09 15:22:15 +00:00
David Elliott
caea5ecdc0 Fix tracking rectangles in 64-bit build by remembering the tag as the 64-bit integer that it is in that mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 09:12:04 +00:00
Vadim Zeitlin
30b001e3af don't redeclare wxYield() if it had been already declared to fix g++ warnings with -Wredundant-decls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51592 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:17:41 +00:00
David Elliott
1be61dfe2d Reword the comment again. I forgot to save before committing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51591 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:06:26 +00:00
David Elliott
7f6224c05e Change the __NEXT_RUNTIME__ test to __OBJC_GC__ which is what I really meant
but I had to look up which preprocessor define was emitted by -fobjc-gc.
Also improve the comments a bit.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 08:04:46 +00:00
David Elliott
ff544956a5 Avoid warnings in the Objective-C uniquifying code when running in GC mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-08 04:24:35 +00:00
David Elliott
f42fc2c1a7 Instead of using wxCFRetain/wxCFRelease directly for Objective-C objects add
new wxGCSafeRetain/wxGCSafeRelease functions which are specific to Objective-C
objects and can be compile-time switched to standard retain/release without
breaking wxCFRetain/wxCFRelease for CF objects.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51584 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-07 23:37:30 +00:00
David Elliott
78b65191d6 Fix most of the Objective-C GC problems by using the stronger CFRetain/CFRelease in wxObjcAutoRef.
Actually use wxObjcAutoRef for the wxNSViewNotificationObserver singleton to keep it from being finalized.

Copyright 2008 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-06 20:10:07 +00:00
Julian Smart
8b2a6dfc24 Added a reset-buffer event to give an opportunity to set the default initial style
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-02-01 14:13:51 +00:00
Vadim Zeitlin
24ca0acd57 corrected comment: wxSingleInstance is not for Win32 only since about 10 years
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-29 23:11:55 +00:00
Julian Smart
123cc0e9d7 Fixed a bug in HasAlignment
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-25 09:16:01 +00:00
Julian Smart
8bd0636fca Added event handler macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-22 08:23:44 +00:00
Vadim Zeitlin
0593dff688 use more WXDLLIMPEXP_FWD declarations instead of WXDLLIMPEXP (patch from Tim Stahlhut)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-16 12:56:37 +00:00
Stefan Csomor
dc21f4bbb0 adding old 'pict' support to quartz mode for receiving bitmapobjs
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51164 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-11 19:17:46 +00:00
Vadim Zeitlin
074ca2937d don't hardcode 16/32 as sizes for small/normal icons (fixes bug 1862812)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50999 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-03 01:13:44 +00:00
Vadim Zeitlin
c476ef9b48 don't lock the gs_prevCS critical section recursively (replaces patch 1857581)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 21:18:15 +00:00
Vadim Zeitlin
f748392d04 added wxS(); use it in a couple of places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-02 16:31:38 +00:00
Vadim Zeitlin
43de9abf95 do VMS-specific X symbols redefinitions only once in wx/platform.h instead of doing it in individual files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-01-01 20:38:33 +00:00
Vadim Zeitlin
ee635d523a fix bug with parsing negative time zones in ParseRfc822Date()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 23:35:40 +00:00
Julian Smart
d596490f4b Reduction of includes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-30 16:11:12 +00:00
Václav Slavík
237d84033e backported: when a window inside scrolled window receives focus, make sure the parent is scrolled so that the window with focus is visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50864 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 18:36:19 +00:00
Václav Slavík
d198606868 skip wxChildFocusEvent in WX_DELEGATE_TO_CONTROL_CONTAINER, so that other code can see the notification too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50863 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-20 18:32:55 +00:00
Vadim Zeitlin
35227fd226 don't use 8 bit characters in sources to avoid warnings in non-latin1 locales (patch 1841741)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50711 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-15 02:57:58 +00:00
Mart Raudsepp
6d7fdd21e4 Include defs.h before checking if wxUSE_GRAPHICS_CONTEXT is requested in build.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-12 20:19:36 +00:00
Robin Dunn
151f9e50dc bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-12-06 18:08:58 +00:00
David Elliott
75027d2856 Implement text update events so the spin control works better.
Copyright 2007 Software 2000 Ltd.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-30 05:08:21 +00:00
Robin Dunn
4bd72ec7dc Bump subrelease number
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50258 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-26 19:44:17 +00:00
Vadim Zeitlin
8c56d4a586 use WXDLLIMPEXP_FWD_CORE instead of WXDLLEXPORT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50255 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-26 13:48:36 +00:00
Vadim Zeitlin
802bde46ad fix unused parameter warning inside FILEDIRBTN_OVERRIDES
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50240 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-25 13:12:53 +00:00
Vadim Zeitlin
b191e948b5 correction to the last commit
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 21:29:29 +00:00
Václav Slavík
c25ddfa8a3 backported wxGrid labels autosizing patch (r44835) to 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50201 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 21:21:25 +00:00
Vadim Zeitlin
bf348771b2 more WXDLLIMPEXP_FWD_XXX fixes from Tim Stahlhut
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@50193 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2007-11-23 19:19:31 +00:00