Commit Graph

6758 Commits

Author SHA1 Message Date
Ryan Norton
2619179042 cocoa tooltips. Remove runtime warning from 10.2 (dave - I was too lazy to change this from my local copy, feel free to commit over this if you want)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29686 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-06 21:09:47 +00:00
Vadim Zeitlin
27db421056 cleaning up strdup/isascii definitions for compilers which lack them (should fix CW CFM build)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29669 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 21:57:40 +00:00
Włodzimierz Skiba
254a21292b Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29660 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 15:38:40 +00:00
David Elliott
908686c52e Implement wxBitmapButton::DoGetBestSize() to call wxButtonBase version so
that the newly implement wxButton::DoGetBestSize() is not used.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29659 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 01:50:17 +00:00
David Elliott
635f01472e Implement wxButtonBase::GetDefaultSize()
Implement wxButton::DoGetBestSize() to return at least 68 pixel width unless
wxBU_EXACTFIT flag is given.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-05 01:49:05 +00:00
Vadim Zeitlin
9b0db4529f made IsMainLoopRunning() static and implemented it for wxAppConsole too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29655 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 20:21:44 +00:00
Vadim Zeitlin
5f4f5b58f6 added wxApp::IsMainLoopRunnning() (see bug 994293)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29645 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 10:51:11 +00:00
Vadim Zeitlin
384198de1b forward declare wxOutputStream (compilation fix for !USE_PCH)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29638 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:28:14 +00:00
Vadim Zeitlin
835fab506e blind warning fix in wxUmaskChanger
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29637 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-04 08:26:55 +00:00
Vadim Zeitlin
a121d72052 added wxFileConfig::Save(stream); documented it in new, separate from wxConfig, wxFileConfig doc file (replaces patches 902372 and 900889)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29632 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 22:55:08 +00:00
Vadim Zeitlin
e1cc687422 don't keep a dirty flag in each entry/group, this is totally wasteful as a single flag in wxFileConfig itself is enough; do reset the dirty flag after Flush()ing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 22:34:09 +00:00
Vadim Zeitlin
8482e4bdb9 added wxUmaskChanger class and wxCHANGE_UMASK macro and use them instead of duplicating the same umask-setting code in several places
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29629 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 22:12:58 +00:00
Vadim Zeitlin
a6fd0fde4c update the disabled buttons appearance when system colours change (followup to patch 1027243)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 13:46:11 +00:00
Vadim Zeitlin
6d067eb66a Metrowerks fixes after huge file patch (patch 1037951)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29618 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-03 13:36:46 +00:00
Vadim Zeitlin
413a490f94 Metrowerks doesn't have isascii()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29613 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 23:17:23 +00:00
Ryan Norton
6a8b0d4586 warning for 2.5.3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 19:19:55 +00:00
Vadim Zeitlin
d85cfb3784 added wxVaCopy() and use it to fix wxVsnprintf() crash (see bug 1017651)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29604 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 18:32:31 +00:00
Vadim Zeitlin
57e075e99a removed trailing comma from enum (gcc 3.4 compilation fix)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29602 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-02 16:12:15 +00:00
David Elliott
bd2af42857 wxCocoa: Added (mostly) stubs for wxGLCanvas and friends.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29594 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 14:23:59 +00:00
Vadim Zeitlin
29e92efbe7 hack: hide the MDI parent frame by moving it off screen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 01:51:29 +00:00
Vadim Zeitlin
a4f01f0592 relayout frame contents when tool/statusbar is shown/hidden
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29580 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 01:49:45 +00:00
Vadim Zeitlin
5e62d4a5c7 extracted OnSize() body in a new DoLayout() method so that it can be called from wxFrame::SetXXXBar()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-01 01:46:14 +00:00
Vadim Zeitlin
aba3d35e7b don't deprecate SetItemImage() with 3 parameters; just add a default value for the last one
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 22:27:45 +00:00
David Elliott
696e933166 Use struct qualifier with objc_object (it is and always will be a struct)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 21:00:18 +00:00
Julian Smart
c3627a004d Deprecated SetItemImage with 2 image ids
Deprecated _GET_INFO, _SET_INFO list control events


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 19:12:23 +00:00
Václav Slavík
571f6981e2 moved wxWindow::GetBestSize implementation into DoGetBestSize
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29564 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 16:37:58 +00:00
Ryan Norton
af7e08a4a5 have it work the old way with PopupMenu(), and have it restore the old menu on destruction (and hopefully when RemoveIcon() is called
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29558 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 13:51:00 +00:00
Vadim Zeitlin
12f9921085 compilation fix for wxGetEmptyString() with wxUSE_STL == 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29556 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-30 08:23:28 +00:00
Václav Slavík
2596e9fb2c fixed flicker during MDI children creation: the frame is now created hidden and shown in idle time to maintain backward compatibility
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29549 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 21:07:48 +00:00
Julian Smart
f525dc35f4 Temp fix for VC6/XTI
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 16:21:47 +00:00
Václav Slavík
0fe0275981 changes to make wxWindow::FindFocus work as expected with composite controls
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29540 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 14:34:28 +00:00
Julian Smart
adfea104dc Applied patch [ 1036833 ] Hiding declaration of wxScrollHelper
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 14:02:24 +00:00
Vadim Zeitlin
81ce36aa59 more 64 bit correctness fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 09:25:47 +00:00
Włodzimierz Skiba
9b1414681c Hardware defines spec.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29530 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 08:03:26 +00:00
Włodzimierz Skiba
d4c25daa1b C++ removed from C syntax.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29527 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 07:21:18 +00:00
David Elliott
a1f4186efa wxStaticBox constructor is not supposed to take a wxValidator
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-29 05:18:38 +00:00
Robin Dunn
dc8005e206 TRUE/FALSE/etc. cleanup in the *.in files, regenerated the .h and .cpp
files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 23:36:33 +00:00
Vadim Zeitlin
0d01dd512f wxListItem::m_data is now of type wxUIntPtr, not long, for compatibility with 64 bit systems
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29514 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 21:53:19 +00:00
Vadim Zeitlin
1695e2851d added wxPtrToUInt() to cast pointer to an integer type without warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29513 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 21:48:47 +00:00
Vadim Zeitlin
8c8d66c5f0 added wx_reinterpret_cast() macro
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 21:44:10 +00:00
Vadim Zeitlin
b41f29c357 suppress VC7.1 64 bit correctness warnings
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29509 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 21:16:57 +00:00
Włodzimierz Skiba
7e126a0784 Source cleaning: whitespaces, tabs, TRUE/true, FALSE/false, -1/wxID_ANY/wxDefaultCoord/wxNOT_FOUND.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29494 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 15:13:27 +00:00
Ryan Norton
8a68e8dbbe remove unfinished impl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29493 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 15:02:56 +00:00
Julian Smart
fde692b5ad Use generic font dialog on MacOS X
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 14:28:22 +00:00
Vadim Zeitlin
07170120ee blind fix for wxGetEmptyString() compilation with wxUSE_STL == 1
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29487 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 09:50:23 +00:00
Julian Smart
08c6324095 __WINCE__ -> __WXWINCE__
Added missing O_... symbols
Incremented the version


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29484 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-28 07:45:37 +00:00
Ryan Norton
1553abf415 source nice-ness and remove erronous files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 23:19:24 +00:00
Ryan Norton
1751226cbf revert bad change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29480 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 22:46:16 +00:00
Robin Dunn
5ee1d7604b Allow style spec strings to contain colour names as well as hex values
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 21:17:01 +00:00
Julian Smart
65df77ec74 Don't try to typedef off_t twice (eVC++)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29477 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-09-27 21:08:54 +00:00