Commit Graph

15354 Commits

Author SHA1 Message Date
Robert Roebling
a77d6d2f9e Applied patch for rounded rectangle.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31387 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 12:58:52 +00:00
Vadim Zeitlin
f1a9125b88 fixed export of hex values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31385 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 00:32:11 +00:00
Vadim Zeitlin
20d8c31990 implemented Export(file)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31384 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-16 00:26:40 +00:00
Vadim Zeitlin
5fec5bb620 added mode parameter to wxFFileStream ctors taking wxFFile
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31383 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 23:06:09 +00:00
Vadim Zeitlin
e31e6ea75d moved styles logic to MSWGetStyle() (no real changes)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 17:10:34 +00:00
Vadim Zeitlin
ef78230168 removed obsolete wxUSE_CTL3D
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31368 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 14:45:20 +00:00
Vadim Zeitlin
feb72429e8 added API, docs and Win32 implementation of wxDatePickerCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-15 01:31:10 +00:00
David Elliott
ee02254913 Split some of the recent code out to make it more reusable.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31364 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 19:24:27 +00:00
Robin Dunn
185f6036f8 Bug fix for [ 1059381 ] Mouse wheel does not work in listctrl with gtk2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31363 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 15:59:21 +00:00
David Elliott
db8512fe2b Forgot to initialize m_cocoaWxToBoundsTransform = nil;
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31361 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 14:27:49 +00:00
David Elliott
4db3c8ac63 Separate NSAffineTransform creation out of wxDC::CocoaApplyTransform into
static wxDC::CocoaGetWxToBoundsTransform.  Create the transform and store
it as a member variable in wxDC when focus is locked on the DC.
For wxClientDC and wxPaintDC call a new wxWindow::CocoaGetWxToBoundsTransform
which will eventually handle scrolling.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 14:22:03 +00:00
Włodzimierz Skiba
52f2ad0899 Common wxListCtrl control name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31359 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-14 13:07:44 +00:00
Robin Dunn
b256b4ef8e Ensure that the windows are shown when Initialize is called too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31355 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 23:43:19 +00:00
Robin Dunn
874d01fea7 Ensure that the windows are shown when splitting
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31354 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 23:34:55 +00:00
Robin Dunn
3e905c526b added a missing \n the source
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 20:48:48 +00:00
Włodzimierz Skiba
630ad6c6b6 Common default notebook name.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31334 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-13 20:30:21 +00:00
David Elliott
34c9978dac Add new methods to transform coordinates expressed in Cocoa's bounds rect to
and from those expressed in wxWidgets fashion.  Use these new methods to do
the translation for mouse events, child window position, and dirty rects.
Also improve DoMoveWindow to only dirty the old and new rects of the
control within its superview rather than the entire superview.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31332 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 20:51:35 +00:00
Julian Smart
7d098cfdd7 Don't return a broken accelerator object if the accelerator was not
recognised.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 16:06:13 +00:00
Włodzimierz Skiba
059a684d56 Shared build fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 16:02:39 +00:00
Włodzimierz Skiba
52069700e7 Warning fix and source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31329 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 16:01:33 +00:00
Włodzimierz Skiba
de516ffeea Warning fix.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31328 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 15:57:59 +00:00
Włodzimierz Skiba
419c6f4046 Don't overwrite 32bit value with 16bit one.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31327 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 15:56:42 +00:00
David Elliott
0c28d8248e Implement using NSColor class methods for system colors.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 15:39:02 +00:00
David Elliott
c3c916e38f Improved whitespace in GetColour() so I can see what I'm doing.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31324 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 15:27:26 +00:00
Vadim Zeitlin
e4d03677b9 reset m_hDWP to NULL after calling EndDeferWindowPos()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31322 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-12 12:58:59 +00:00
Włodzimierz Skiba
a6fb8636e5 Old API deprecated. Source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-11 21:17:16 +00:00
Robin Dunn
53701799b4 Patch [ 1100272 ] wxFlexGridSizer works wrong when some rows/cols are hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31318 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-11 19:01:22 +00:00
David Elliott
888c4e8f0d Renamed src/cocoa/settings.cpp to settings.mm.
Don't forget to rm .deps/corelib_settings.o.d in your build directory.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-11 18:57:38 +00:00
David Elliott
2a8db3cdda Implemented simplistic ConvertToImage()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31316 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-11 15:27:38 +00:00
David Elliott
b4918747ef Corrected m_depth assignment in CopyFromIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31315 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-11 15:07:02 +00:00
David Elliott
68a8c89baa Implement CopyFromIcon
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31314 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-11 14:55:24 +00:00
David Elliott
67d2dac82e Replaced obviously incorrect code for SetFocus and DoFindFocus.
Effectively reverts revision 1.53.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31313 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-11 03:21:31 +00:00
David Elliott
f298b203b5 Renamed the wxWindowCocoaScroller class to wxWindowCocoaScrollView because
it was confusing.  Scroller is the Cocoa term for a scroll bar.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31312 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-11 01:55:42 +00:00
David Elliott
d8fdd58fa3 Add constructor and Set taking NSColor.
Change eqauality operator to check if the NSColor objects are the same
instance or if all of the color components (m_red/green/blue) are identical.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31310 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 18:37:36 +00:00
Włodzimierz Skiba
eecb33b018 Old API deprecated. Use new and remove old usage where necessary.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 17:21:16 +00:00
Stefan Csomor
e896726a47 reverted bitmap depth increases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 08:52:47 +00:00
David Elliott
936170f407 Corrected some assertions (m_region.m_refData vs. m_refData)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31303 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 03:07:43 +00:00
David Elliott
bf428459fc Added wxMemoryDC::Clear()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31302 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-10 01:52:08 +00:00
Stefan Csomor
456fd7b661 optimizing gauge cpu usage
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31301 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-09 09:55:27 +00:00
Stefan Csomor
2b1fe32e2e no message
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31300 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-09 09:52:34 +00:00
Stefan Csomor
0ff2493d74 added hack for making scrollbars really disappear under 10.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31299 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-09 06:27:42 +00:00
Stefan Csomor
eda3f2b454 draw the focus rect ourselves
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31298 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-09 05:58:58 +00:00
Stefan Csomor
ae190e6447 fixed border calculation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-09 05:50:36 +00:00
Vadim Zeitlin
c50a4038e3 implemented wxIsDebuggerRunning() for Win32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-08 17:44:46 +00:00
Robert Roebling
44c5573d2e Compile fixes for GTK 1.2
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31295 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-08 15:41:04 +00:00
Robert Roebling
02a6e35839 Applied wxNO_BORDER patch for text control and combo box.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31293 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-08 10:35:15 +00:00
Vadim Zeitlin
6b73af793f made FindWindow() member functions const (this makes it possible to use XRCCTRL() in const methods)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 23:51:04 +00:00
Robert Roebling
e3d64157d7 Added way to specify in generic tree control
if the drop effect (a line) should be drawn
   above or below the item.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 22:31:42 +00:00
Robert Roebling
daa7ae0c30 Corrected drag effect for tree control.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 22:09:08 +00:00
Václav Slavík
c575e45a24 fixed condition for using #pragmas
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2005-01-07 21:33:15 +00:00