Gilles Depeyrot
edf6a06341
disable use of #pragma interface under Mac OS X
...
GNU compiler included with Mac OS X 10.2 (Jaguar) as well as available updates
contain a bug concerning #pragma interface handling that can only be worked
around by not using them (and they are not necessary anyways)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20586 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-11 18:08:58 +00:00
Jouk Jansen
d171743ed3
Committing in .
...
Fixes needed for OpenVMS
Modified Files:
wxWindows/include/wx/x11/private.h
wxWindows/include/wx/x11/privx.h
wxWindows/src/common/dbtable.cpp
wxWindows/src/common/descrip.mms
wxWindows/src/motif/bmpmotif.cpp
wxWindows/src/motif/descrip.mms wxWindows/src/x11/bitmap.cpp
wxWindows/src/x11/utilsx.cpp
----------------------------------------------------------------------
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20562 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-09 10:53:52 +00:00
Mattia Barbon
dd38c87578
Implemented wxBitmapDataObject.
...
Implemented generic wxDataObject support in wxClipboard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-07 17:24:11 +00:00
Robin Dunn
819451b6c7
Reversed the meaning of black and white in wxRegion::ConvertToBitmap
...
so it matches the menaning of black and white in wxMask
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-05-03 17:56:30 +00:00
Vadim Zeitlin
6298b8d0b2
another blind fix for wxX11 compilation
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20365 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-28 02:08:57 +00:00
Mattia Barbon
f7f78039d2
Add tests for XShape extension API in configure,
...
and implements wxTLW::SetShape for wxMotif and wxX11
using the aforementioned extension.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20102 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-09 16:58:33 +00:00
Mattia Barbon
a29c6824c2
Add GetDrawable convenience function that returns m_bitmap
...
if the wxBitmap is monochrome or m_pixmap if the wxBitmap
is polichrome.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20059 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 17:39:00 +00:00
Mattia Barbon
9ce8d6a2b0
Moved m_visual* wxApp[X11] members used by wxBitmap and
...
wxColour into a new wxXVisualInfo structure, and moved code
to initialize it to a new src/x11/utilsx.cpp file (utility
functions shared by wxMotif and wxX11).
Added (currently unused) code in wxMotif to
retrieve wxXVisualInfo; it will be used when wxMotif
is switched to bitmap.cpp from wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-07 17:15:11 +00:00
Mattia Barbon
62ad3cb358
Derive wxBitmap from wxBitmapBase.
...
Move code from LoadFile/SaveFile/Create* to
bitmap handlers.
Implemented wxBitmap::GetSubBitmap.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19987 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-04-05 12:11:05 +00:00
Robin Dunn
1542ea396a
Added wxTLW::SetShape and implementations for wxGTK, wxMSW and an
...
empty stub for wxMac.
Added some generic helpers and a new ctor to wxRegion.
Added samples/shaped.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19857 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-28 23:05:05 +00:00
Julian Smart
6c9a19aaba
Removed erroneous copyright names and corrected licence spelling
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19593 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-03-17 11:23:28 +00:00
Mattia Barbon
69c4481222
Use some wxX11 files (currently pen.cpp and brush.cpp) in wxMotif.
...
Add src/x11 to VPATH in configure, and add a new flag to filelist.txt
indicating a file used in wxMotif but not in wxMotif directory.
Modifed VMS makefiles, too (should be checked by someone with VMS,
though).
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19265 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-20 18:20:47 +00:00
Vadim Zeitlin
9045ad9dfc
added DoSetNativeFontInfo() to avoid virtual function hiding
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19194 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2003-02-12 15:42:27 +00:00
Vadim Zeitlin
2b5f62a0b2
merged 2.4 branch into the trunk
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18040 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-12-04 14:11:26 +00:00
Julian Smart
f41bc3e3f3
Renamed internal GetClientWindow to GetClientAreaWindow so
...
as not to clash with the MDI function of the same name
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16346 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-02 08:31:59 +00:00
Julian Smart
90a1a975d4
Applied patch [ 588734 ] Makes ProcessIdle() virtual
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16341 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-08-01 19:54:55 +00:00
Julian Smart
5968a0dcd9
Corrected OnAssert
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15953 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-25 18:12:07 +00:00
Vadim Zeitlin
6b0d8a01d1
added default parameter values to the overloaded Show() and Enable() versions
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-06-04 18:09:20 +00:00
Vadim Zeitlin
d715d419e1
fix compilation without WXDEBUG (includes patch 561458)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15701 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-05-28 16:54:50 +00:00
Vadim Zeitlin
2245b2b2c3
changed DoDragDrop(bool) into DoDragDrop(int) and added support for wxDrag_DefaultMove flag
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-28 14:30:54 +00:00
Julian Smart
387ebd3eb7
Added wxDF_HTML
...
Added VC++/non-Unicode for setting HTML clipboard data
Changed FloodFill to return a bool value
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15185 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-17 11:48:11 +00:00
Julian Smart
968602f890
Changed caret to black and made it go when control isn't focussed
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15008 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 22:47:20 +00:00
Robert Roebling
46e87167f1
Further work on wxTextCrl.
...
Makefile fix for wxEmulator.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-07 10:18:46 +00:00
Robert Roebling
82434104d5
Added support for variable-width fonts
...
to wxTextCtrl. This excludes syntax
highlighting, which is probably OK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14970 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-06 18:11:36 +00:00
Julian Smart
8e2baee50d
Now set the client and main windows in wxAdoptedWindow::SetHandle
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-02 12:41:28 +00:00
Julian Smart
8601b2e15b
Modifications to get wxNanoX compiling again
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14884 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 14:09:44 +00:00
Robert Roebling
4175e95227
Temporarily use self-made wxTextCtrl in wxX11 until
...
the in /src/univ.cpp works better.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-04-01 11:41:59 +00:00
Robert Roebling
dc4025af9a
Some work for wxX11 on 8-bit visuals.
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14867 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 22:58:15 +00:00
Robert Roebling
e97d2576ae
Pop-up menus no longer jump before appearing.
...
Added wxTLW::DoGetSize() which uses cashed values.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-29 15:04:30 +00:00
Robert Roebling
c2c0dabfa6
More changes for better redraw flow under X11.
...
Probably fixed problem with TLW appearing wrong.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14842 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-28 18:57:50 +00:00
Mattia Barbon
f618020a15
wxIconBundle implementation.
...
wxTLW::SetIcons() properly implemented for wxMotif, wxGTK, wxMSW, wxX11, wxUniversal
Placeholders that just call SetIcon for wxOS2 and wxMac.
Regenerated makefiles.
Added hardwired wxSYS_ICON_X/Y = 32 for wxGTK.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14809 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-26 21:54:23 +00:00
Robert Roebling
ab6b6b15e0
Implemented two-window approach for wxX11.
...
Implemented wxSTAY_ON_TOP the way Qt does it.
Added group window support.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14764 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 22:17:53 +00:00
Václav Slavík
0e04ef47f6
move wxApp::GetStdIcon to wxArtProvider
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-24 00:19:01 +00:00
Robert Roebling
77df2fbce6
Send size events from top level windows in idle time,
...
this significantly improves the opaque resizing look
and feel and seems to speed up dialog show up time.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14579 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-13 18:25:11 +00:00
Julian Smart
32f8e36335
Added GetWindow to make Blit compile
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14569 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-12 21:54:27 +00:00
Julian Smart
c978d36124
Added reparenting helper classes to help apps to grab the windows
...
of other applications.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14524 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-09 21:51:10 +00:00
Julian Smart
086fd5603b
ProcessXEvent now returns TRUE if processed, FALSE if not
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14491 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-03-08 12:06:12 +00:00
Julian Smart
c2ff68d3fd
Got dialog sizing to work, downsized fonts a bit (though it always returns
...
the same standard font right now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14415 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 21:58:07 +00:00
Julian Smart
0b5c0e1ac1
Nano-X changes: removed spurious -O for Nano-X configuration;
...
got colour working in Nano-X (uses 8 bit RGB values, not 16 bit);
now sets font background mode correctly; window management
call correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14410 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-26 10:06:07 +00:00
Václav Slavík
6b5d017e8f
removed AdjustForParentClientOrigin from wxMotif and all its forks
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14379 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-24 00:08:45 +00:00
Robert Roebling
9691c806e6
Implemented a simple modality under X11.
...
Filled wxDataFormat and wxDataObject etc.
Added skeleton for X11 clipboard.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 21:26:16 +00:00
Julian Smart
461e93f921
wxUSE_CONSTRAINTS now refers to constraints only, since sizers
...
are now crucial to wxWindows. Further Nano-X fixes; now
compiles and links in Nano-X mode.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14358 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-23 17:36:48 +00:00
Julian Smart
788519c605
Some more NanoX compile fixes
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14337 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-21 14:52:04 +00:00
Julian Smart
c79a329dcb
NanoX modificati
...
NanoX modifications
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14331 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-20 23:19:40 +00:00
Robert Roebling
887dd52f06
Added more wxRegion tests to erase sample.
...
Implemented "clear now, paint later".
Corrected colour-by-name lookup.
Corrected DrawRectangle code which produced
redraw garbage under wxX11.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14297 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-18 22:13:23 +00:00
Robert Roebling
7e4501ee3c
wxX11:
...
Corrected TLW positiong.
Added experimental code for synthesizing focus events.
Minor clean-ups.
Added for-now unused code for default/focus widget.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14281 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 21:09:04 +00:00
Julian Smart
e941874b17
Added some Xlib replacement functions and structures for Nano-X
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14280 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 20:49:14 +00:00
Václav Slavík
a0cb0ba509
move wxMGL's wxTimer to src/generic
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:55:41 +00:00
Václav Slavík
1aee06c5b7
cleaned a bit of mess in wxX11
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14274 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-17 14:53:58 +00:00
Julian Smart
256d631aaf
Started some NanoX work (blind to begin with)
...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2002-02-15 11:14:42 +00:00