Commit Graph

2976 Commits

Author SHA1 Message Date
Robert Roebling
9cd722e337 Patches-1940222 ] wxTextCtrl and keydown on fully selected text (wxMac)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53246 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-17 15:19:15 +00:00
Robert Roebling
419a360703 Corrected/added support for column headers with icon and text
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53147 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-12 20:07:53 +00:00
Robert Roebling
bff76efd88 compilo
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 23:28:14 +00:00
Chris Elliott
79456eac49 SF bug 1895101
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 10:01:03 +00:00
Robin Dunn
247ca48fec Slight reorg of last change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53037 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-06 02:13:08 +00:00
Stefan Csomor
2ff16902a4 fixing the build for wxMAC_USE_COCOA=1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 12:09:33 +00:00
Stefan Csomor
ed6e7f8cfe GetPixel isn't returning RGBColor anymore, so change call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52994 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 11:47:44 +00:00
Stefan Csomor
056ccb81e0 GetPixel isn't returning RGBColor anymore, so change call
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52993 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 11:41:32 +00:00
Robin Dunn
17792930dc Call ValueChanged after SetValue so other views will be updated
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-03 06:43:36 +00:00
Francesco Montorsi
231b9591aa add more pure virtuals to wxBrushBase; fix the GetColour() functions to return a wxColour object and not a reference; remove from docs the non-existent SetColour(const wxString&) overloads
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-28 16:47:58 +00:00
Vadim Zeitlin
1be45608e7 Several fixes for removing/readding controls to the toolbar:
1. Don't destroy the control in wxToolBar::RemoveTool() as this prevents
   it from being added back with is the purpose of using RemoveTool() rather
   than DeleteTool().

2. Call wxToolBarTool::Attach/Detach() from the base code, not just from wxMSW
   and wxMac (wasn't called by wxGTK at all).

3. Allow adding back the removed control tool in wxGTK.

4. Add test for removing/adding back a control tool to the sample.



git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52840 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-27 00:10:19 +00:00
Stefan Csomor
59022c25c1 popup activation scope and l&f
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52832 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 11:16:14 +00:00
Stefan Csomor
81749bafae fixing custom background on non owned windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52831 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 10:55:32 +00:00
Stefan Csomor
a66cf5a0f6 fixing custom background on non owned windows
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-26 10:54:09 +00:00
Stefan Csomor
328f0df87c moving tlw list up, cleanup
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 21:34:30 +00:00
Francesco Montorsi
e86f2cc84a reorganized wxBitmap/wxBitmapHandler classes to use wxBitmapType instead of "long" where possible; made them const-correct; introduce wxBITMAP_SCREEN_DEPTH instead of -1 for clearness (specially in the docs); remove wxBitmapHandler empty stubs and rename wxBitmapHandlerBase as wxBitmapHandler
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 20:31:48 +00:00
Stefan Csomor
0685aa9eb6 porting reordering of controls back from 2.8
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52819 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 19:50:38 +00:00
Julian Smart
c887f67c21 Fix for non-pch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52817 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 17:04:15 +00:00
Stefan Csomor
222180ffe9 adding 10.4 code for making focus events behave as similar to 10.5 as possible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52814 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 15:36:41 +00:00
Stefan Csomor
5a011158a9 non owned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52802 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 08:01:07 +00:00
Stefan Csomor
d10a37d155 non owned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52801 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:59:13 +00:00
Stefan Csomor
cbe733bdec non owned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52799 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:54:43 +00:00
Stefan Csomor
072252d9aa non owned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52798 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:53:55 +00:00
Stefan Csomor
ee263083c8 non owned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52797 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:52:25 +00:00
Stefan Csomor
296b728fa0 non owned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:49:00 +00:00
Stefan Csomor
97ade792e9 non owned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:48:37 +00:00
Stefan Csomor
4b8dab6339 non owned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:47:58 +00:00
Stefan Csomor
871d4e1b0c non owned window implementation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52793 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:42:06 +00:00
Stefan Csomor
8d007ed4e6 non owned window installation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52792 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-25 07:41:08 +00:00
Vadim Zeitlin
05718a98f9 avoid needless Unicode<->MB conversions in Unix wxExecute(); simplify the code; provide both versions taking char** and wchar_t** for compatibility; also use wxMacExecute() (renamed to wxMacLaunch() to avoid confusion) from all wxExecute() overloads but don't use it if wxEXEC_SYNC was requested as it doesn't support it
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52722 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-23 02:27:23 +00:00
Vadim Zeitlin
b827d64707 refactored common code from XXX_EndProcessDetect in wxGTK[12] and wxMac/wxCocoa into wxHandleProcessTermination itself; also removed code dealing with negative pids as we don't use them any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52696 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 14:50:44 +00:00
Vadim Zeitlin
947f3b358c fix warnings about unused parameters/variables in release build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 12:11:37 +00:00
Vadim Zeitlin
1d043598b7 replace wxAddProcessCallback() with wxAppTraits::AddProcessCallback() to fix linking problems in Unix ports; also reduce code duplication between GUI and base versions making src/unix/baseunix.cpp unnecessary any longer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-22 00:07:13 +00:00
Francesco Montorsi
82c5e9ab46 fix wxBrush for the mac build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-21 09:37:59 +00:00
Francesco Montorsi
ac3688c0d8 make the Pen/Brush code backward compatible as discussed on wx-dev; marked the blocks of code to deprecate in future with FUTURE_WXWIN_COMPATIBILITY_3_0; add wxCHECK_MSG in all ports to block Get*() calls on invalid objects (as already is for all other refcounted objects and for most ports)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52636 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-20 15:08:51 +00:00
Stefan Csomor
96f5888b18 CGFloat
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52625 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-19 14:09:44 +00:00
Stefan Csomor
5389e50515 make background colour be the real color, to have inheritance work correctly
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52624 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-19 13:26:42 +00:00
Stefan Csomor
e95f52682f clean include
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-19 13:24:27 +00:00
Stefan Csomor
65bea426fe have bg style wxBG_STYLE_CUSTOM not skip event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52622 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-19 13:23:41 +00:00
Stefan Csomor
9083e7fb1a fix default values after types were changed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-17 08:58:00 +00:00
Francesco Montorsi
ed7ec76de3 some more build fix for wxPen/wxBrush style changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52577 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-17 00:46:07 +00:00
Francesco Montorsi
9d7a8e4ab4 build fix (looking at buildbot)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52576 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 22:42:38 +00:00
Francesco Montorsi
82cddbd97a fix also wxPen to use wxPenStyle,wxPenJoin,wxPenCap enums instead of plain int; remove from wxBrushStyle the styles wxPen-specific; add backward-compatible ctor to wxPen; don't include brush.h and pen.h from gdicmn.h, rather move wxPenList,wxBrushList,wxFontList in the relative headers
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52573 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 21:11:12 +00:00
Francesco Montorsi
3e6858cdcb introduce wxBrushStyle enum and replace 'int style' occurrences in wxBrush code with 'wxBrushStyle style'; the change is backward compatible and documented in changes.txt
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 16:47:57 +00:00
Václav Slavík
bea6ba2d3b if we can't detect tooltip color, yellow as used by Tiger is still better than white, which isn't used anywhere
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-16 00:35:24 +00:00
Vadim Zeitlin
6e42617af4 don't assign the returned value in wxMDIParentFrame::OnCreateClient() to any member variables, this is the job of the caller (according to documentation and wxMSW code) (modified patch 1910602)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52537 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-15 03:12:47 +00:00
Stefan Csomor
eb61203f6e use the same font matching fallbacks for all layout operations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-14 10:34:25 +00:00
Václav Slavík
5e4e03e9f9 include 'Version' in version string, it's what Apple apps do
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52458 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-12 21:28:21 +00:00
Stefan Csomor
9cb0c458c4 64/32 bit fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 12:24:33 +00:00
Stefan Csomor
6ef27a1414 64/32 bit fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52357 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-03-06 12:20:28 +00:00