Włodzimierz Skiba
7da60d7c18
OW warning fix. Our compile time asserts warns when used within function and dedicated #pragma seems not influence it so they are moved from functions into global space as near as possible.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 21:00:17 +00:00
Václav Slavík
61b52e4667
added wxTB_HORZ_TEXT
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 18:54:59 +00:00
Vadim Zeitlin
40e8ee374f
initial implementation for MSW
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30005 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 18:50:06 +00:00
Vadim Zeitlin
6cb5e50b0d
switched to using a real class instead of a namespace because of Mac base/GUI problems
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30004 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 18:49:02 +00:00
Vadim Zeitlin
9f01184787
don't set focus to the window when it is clicked if the event has been processed by the user code (this is consistent with how the standard controls already behave)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30001 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 18:09:13 +00:00
Vadim Zeitlin
6bb0970672
extracted LPITEMIDLIST wrappers in a separate header (also [will be] used by wxStdnardPaths)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@30000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 16:43:53 +00:00
Julian Smart
b8387e0450
Cleaned up commented-out code
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29998 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 13:45:01 +00:00
Julian Smart
ffecfa5aeb
Committed William Osborne's wxPalmOS port
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29996 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 13:40:30 +00:00
Vadim Zeitlin
698b34facd
don't return wxLIST_HITTEST_ONITEMICON from HitTest() when the muse is clicked to the right of the icon label
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 11:49:37 +00:00
Julian Smart
815cb839b5
SQLINTEGER not defined in iodbc
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 08:18:40 +00:00
Stefan Csomor
33b35531ec
eliminate double deletion
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29991 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 07:06:06 +00:00
Stefan Csomor
e07a214281
leads to a double call of AddChild, if we don't see any problems, we'll remove it
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29990 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 07:04:52 +00:00
Ryan Norton
f6d0a117f2
Rework comment a bit to accurately reflect situation on 10.2 - it doesn't crash, rather it stalls :).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 05:18:02 +00:00
David Elliott
eba2de69cc
Fixed incorrect comment about [NSDate distantPast]. We aren't seeking to
...
block for an infinite amount of time but rather to not block at all.
Also added a bit of an overview since apparently the purpose of this code
was not readily apparent even with the existing comments.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29986 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-19 04:43:03 +00:00
Vadim Zeitlin
3640d0da6b
fix Mac/Unicode build after last commit
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 22:26:24 +00:00
David Elliott
2b27a03922
Due to the last change the delegate should not release itself.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 22:23:51 +00:00
David Elliott
a2c1097b8a
Renamed m_hSnd to m_cocoaNSSound (match rest of wxCocoa).
...
Create delegate as a static member shared by all instances.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29974 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 22:12:57 +00:00
Julian Smart
2841cdd89b
Don't remove generic status bar from parent, since it can be used on
...
arbitrary windows.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29973 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 22:07:47 +00:00
David Elliott
4fca6ee1a6
Removed some extraneous whitespace.
...
Changed YES/NO to true/false; do not confuse BOOL (Objective-C) with bool (C++).
Changed some of the indentation to match that the rest of wxCocoa.
There was an if (isLastSoundInScope = NO) which I think was wrong not only
because it used NO rather than false but also because it's an assignment
rather than a test. Changed it to if (!isLastSoundInScope).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 21:41:34 +00:00
Julian Smart
c5b3143a47
wxRadioButtons in the same group no longer have to be consecutive
...
(there may be intervening controls). Without this fix, an out-of-sync
assert is generated when clicking on a radio button and then calling
GetValue().
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29971 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 20:20:47 +00:00
David Elliott
f31424dbe9
wxCocoa: Add native file dialog from Ryan Norton. Modified patch #1039368
...
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1039368&group_id=9863
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 19:15:42 +00:00
David Elliott
0e3165d725
Rebaked (build/bakefiles/common.bkl 1.95->1.96 change)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29969 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 17:02:37 +00:00
Václav Slavík
e0aeebed0a
fixed previous revision: call wxControl's, not wxButton's DoGetBestSize
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29968 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 13:13:39 +00:00
Włodzimierz Skiba
c6fbe2f0c8
Unnecessary const_ prefix removed (blindly).
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 13:00:11 +00:00
Václav Slavík
09a65e631a
be user friendly on Unix and expand the / node automatically
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29966 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 12:50:10 +00:00
Václav Slavík
b2b4469be1
wxBitmapButton doesn't need own DoGetBestSize, wxControl's one works (fixes sizing bug)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29965 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 12:38:21 +00:00
Václav Slavík
b1ad1424b9
support alpha channel in menu items bitmaps, too
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29964 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 09:43:37 +00:00
Václav Slavík
3141599efa
XRC ignored menu bitmap on non-MSW platforms, fixed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 09:30:32 +00:00
Włodzimierz Skiba
1b941f2d31
Warning fixes for OpenWatcom.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 05:56:07 +00:00
Vadim Zeitlin
6c6ea7bed1
remove the selection when SetSelection(-1) is called instead of asserting (as documented)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29960 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-18 01:03:02 +00:00
Vadim Zeitlin
a018a119bd
added wxDynamicLibrary::HasSymbol()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29957 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 23:20:51 +00:00
Robert Roebling
fd64de596c
Renamed wxPrintNativeData methods to better match
...
those of the preexisting wxMac class. This should
make transition of the wxMac classes to the new
wxPrintNativeData classes easier.
Renamed wxWindowsPrintNativeData to a proper name
that is less confusing (GetNativeData -> GetDevMode).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29956 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 23:00:41 +00:00
Włodzimierz Skiba
7ac31c429f
Warning fixes related to various cases of typecasting.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 21:39:05 +00:00
Włodzimierz Skiba
65aeb57135
wxHashMap compatible typecasting.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 19:45:42 +00:00
Vadim Zeitlin
42a2452301
- wxDynamicLibrary::GetDllExt() now returns ".bundle", not ".dylib"
...
- wxDynamicLibrary::GetSymbol() now prepends underscore to the symbol name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29949 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 19:45:20 +00:00
Robert Roebling
bf9848e73d
Took one part of the patch back again...
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29948 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 19:32:48 +00:00
Robert Roebling
8850cbd3c3
First step at moving the print (dialog) native
...
data into native dirs and cleaning up the code.
The native part of wxPrintData is now created
via the wxPrintFactory. I moved the code for
PostScript to /src/generic/prntdlgg. and for
MSW to its the respective dir. I only made
wxMac compile, but it already has a native
print data class, which should be easy to
merge.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 17:25:40 +00:00
Włodzimierz Skiba
4200d1f416
__WXDEBUG__ is defined/undefined, not 0/1!
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29946 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 16:28:20 +00:00
Włodzimierz Skiba
7dca9b44f5
_() needs intl.h.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29945 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 16:21:32 +00:00
Vadim Zeitlin
7406cb31ed
removed obsolete and unused code for USE_BITMAP_MASKS == 0 case
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29944 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 14:54:17 +00:00
Robert Roebling
12ff822199
Forgot to commit.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29943 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 14:47:27 +00:00
Robert Roebling
f53df133a6
Applied (part of) small patch from Chris Bogolte which
...
corrects a test in the Blit code.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 14:32:42 +00:00
Vadim Zeitlin
e9a05074a9
compilation fix for !USE_PCH
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29941 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 14:28:26 +00:00
Stefan Csomor
2c899c2010
guard against m_peer = NULL in Show()
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 11:51:43 +00:00
Stefan Csomor
18a82b9cd3
don't restrict to OS9 API for Mac-Builds
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29938 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 10:52:37 +00:00
Stefan Csomor
684e0b31ef
__WXMAC_OSBUILDTYPE__ selections are now only defined if they are TRUE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29937 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 10:45:21 +00:00
Stefan Csomor
ca80fdee5e
__WXMAC_OSBUILDTYPE__ selections are now only defined if they are TRUE
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29936 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 10:36:33 +00:00
Robert Roebling
c9433ea976
Fixed lost focus events in wxListBox.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29935 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 09:58:46 +00:00
Robert Roebling
523fd2211f
Link problem.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29934 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 09:57:22 +00:00
Robin Dunn
6636ac1ea9
Use Scintilla's functions for Unicode/UTF8 conversions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29932 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2004-10-17 02:27:22 +00:00