Commit Graph

3015 Commits

Author SHA1 Message Date
Paul Cornett
cabb286d30 move 8 copies of the same function to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54092 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-11 05:23:53 +00:00
Stefan Csomor
266fe3655f removing outdated files on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54078 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 18:59:48 +00:00
Stefan Csomor
82e3913d76 removing outdated files on mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54069 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-10 17:42:34 +00:00
Stefan Csomor
78617c75df adding correct include explicitely
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54052 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 09:38:47 +00:00
Stefan Csomor
eabd20520e clipping to empty if not visible
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54051 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 09:37:59 +00:00
Stefan Csomor
2f29e8dfe7 only available on carbon or cocoa
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54050 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-09 09:36:53 +00:00
Vadim Zeitlin
c39d2e0a38 added multisampling (anti-aliasing) support to wxGLCanvas (#9145)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54022 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-08 00:12:12 +00:00
Vadim Zeitlin
204fd7058e change another long type to wxBitmapType
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-06-07 00:53:10 +00:00
Robert Roebling
13d843f1c1 More work on getting wxLisBox events right
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53827 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 23:13:47 +00:00
Stefan Csomor
cbb4085001 adding lowlevel hook to listbox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53820 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-29 14:13:45 +00:00
Robert Roebling
7a04b64409 Clear columns on destruction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53778 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-27 09:52:26 +00:00
Kevin Ollivier
c88d91ba07 (Port to trunk) Fix for wxClientDC::GetAsBitmap, which partially resolves ticket #9486
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-25 21:54:32 +00:00
Kevin Ollivier
c489cc51e9 Build fix for non-pch builds, e.g. for universal binary building.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-25 21:48:39 +00:00
Robert Roebling
6645d46572 Move event generation in multiple selection mode to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53718 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-23 11:03:00 +00:00
Robert Roebling
8c22378737 Also allow UP and DOWN if we reached max number of characters, part of [ 1947652 ] Improves keyboard behavior in wxTextCtrl on Mac
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 18:19:43 +00:00
Robert Roebling
dc0cea5e0e [ wxwindows-Patches-1947680 ] wxMac: Fixes number of printouts and more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53703 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-22 18:11:46 +00:00
Robert Roebling
f7d2128f3c Query value from the model column given by col->GetModelColumn()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 09:41:59 +00:00
Robert Roebling
19723525ce Added InsertColumn( pos, col ), some reformating
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53684 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-21 08:47:21 +00:00
Stefan Csomor
24f3f4fc0b allows resetting color of text to black, closes #4826
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53672 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-20 13:23:46 +00:00
Robert Roebling
bd1fa9c4ae Set EventObject in event
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53649 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-19 12:46:44 +00:00
Robert Roebling
5c2cdf24eb Correct remaining bits of variable height lines for wxMac, change highlight colour to just white (query it?)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53642 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-18 17:40:34 +00:00
Stefan Csomor
fe6f7f3c78 removing double set of geometry
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53635 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-18 11:38:07 +00:00
Robert Roebling
04d85d788b Tried unsuccessfully to change individual line height
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-16 22:05:26 +00:00
Robert Roebling
9534c0039b [ 1965257 ] wxMac implementation of wxDataViewColumn::SetResizeable()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53605 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-16 12:49:35 +00:00
Robert Roebling
344ed1f386 Option for variable line heights (MSW and GTK+ sofar)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-16 12:37:32 +00:00
Stefan Csomor
35c72e5123 fixing 64-32 bit conversion warnings, no brush must be set for color bitmaps, only for monochrome ones
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-14 14:27:26 +00:00
Stefan Csomor
6662d8c097 adapting to new m_font handling in base (it's not always valid, so use GetFont())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53588 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-13 20:52:56 +00:00
Václav Slavík
eeb6bb3493 fixed wxMac compilation after ShowWithEffect() changes; also fixed to use correct directions meaning
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-09 21:53:42 +00:00
Julian Smart
4f4684d77d Use fallback when passing -1 for point size (as allowed by other ports)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53453 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-05 08:16:58 +00:00
Stefan Csomor
2b3bddf68b fixing memory leaks on three levels (bug report 1905138)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-05-04 13:55:14 +00:00
Stefan Csomor
87fe0f7505 adding impl for Create( wxPrinterDC
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-29 19:16:50 +00:00
Robert Roebling
0b822969a6 Added new wxGraphicsContext:Create( wxPrinterDC ) instead of wxDC:CreateGraphicsContext
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53406 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 20:39:57 +00:00
Stefan Csomor
cb751f46a0 adapted Julian's new speed improved version
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53399 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-28 12:57:00 +00:00
Václav Slavík
6d55ca7cb1 Fixed handling of transparent background in borderless wxBitmapButton (patch #1477883)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-24 23:20:08 +00:00
Kevin Ollivier
951a1f6009 Ensure popup menus can display sub-menus.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-23 23:33:30 +00:00
Václav Slavík
916989dfb9 implement wxLIST_AUTOSIZE support in wxMac's wxListCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53276 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 22:10:23 +00:00
Václav Slavík
ffbf7f6634 fixed wxMac's wxListCtrl::SetColumnWidth(-1, ...) to really set width for every column
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-20 20:30:12 +00:00
Stefan Csomor
7f65743f00 1945421 applied
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 08:07:07 +00:00
Robert Roebling
427ad6e188 Bring wxSpinCtrl closer to HIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@53254 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2008-04-18 07:58:12 +00:00
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