Commit Graph

736 Commits

Author SHA1 Message Date
Vadim Zeitlin
9f303149a0 some fwd declarations added to the header
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6723 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-15 07:52:46 +00:00
Guillermo Rodriguez Garcia
70988afbb1 Added gsockmsw which now contains all GUI-specific code for the MSW version
of gsocket - a step towards wxBase


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6671 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-14 04:43:58 +00:00
Ron Lee
236a9de39a moved wxDash typedef to gdicmn.h
added wxXXXDash, platform dependant types for all ports
made using native dialogs the default in msw/setup0.h


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6652 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-13 14:34:35 +00:00
Vadim Zeitlin
cbc66a2704 1. wxProgressDialog uses wxWindowDisabler, not (dumb) wxEnableTopLevelWindows
2. some more wxWindowDisabler bugs fixed (updated dialogs sample to test them)
3. Esc won't close the dialogs without cancel button under MSW
4. status bar can be child of windows of clases other than wxFrame
   (updated statbar sample to show it)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6630 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-12 00:26:21 +00:00
Julian Smart
3f8e5072f7 Small fixes for Tex2RTF but alas, we still get memory problems.
Added wxUSE_MFC setting (doesn't include windows.h, removes own memory
tracing); added include <ctype.h> in case where PCH isn't used;
wxExit now exits :-)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6587 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-10 11:18:22 +00:00
Guillermo Rodriguez Garcia
65dc92ca0f removed wxUSE_WXCONFIG (obsoleted by wxUSE_CONFIG
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6481 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 17:23:16 +00:00
Guillermo Rodriguez Garcia
1ea670896b Disabled memory tracing code for mingw32,
Added LIBTIFF support by default,
Added comment about itsy bitsy lib being useful for win3.1 only,


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6475 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 16:19:39 +00:00
Ron Lee
f547e9bb27 set m_clipXX so dc.GetClippingBox returns real bounding box
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6469 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-06 04:40:01 +00:00
Vadim Zeitlin
1f80a703f2 removed extern from inline function declarations
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6444 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-04 22:54:41 +00:00
Vadim Zeitlin
a95e38c034 1. wxGrid row can't be resized to less than minimal height
2. memory leaks fixed in wxHashTableLong
3. and in wxGrid
4. changed newgrid sample to use char buffers
5. fixed double clicking owner-drawn buttons
6. compilation fix in enhmeta.cpp for !wxUSE_DND
7. bug introduced earlier today in wxGridCellAttr::GetEditor() fixed
8. bool renderer/editor now look as good as I may ever make them look
   good under MSW


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6391 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-02 00:58:11 +00:00
Julian Smart
68be9f090f Added wxDragImage generic implementation and sample; added mask handling to Motif's
wxImage::ConvertToBitmap


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-03-01 11:05:49 +00:00
Vadim Zeitlin
3f7bc32b53 1. fixed bug with MDI child frames changign state when parent frame was
iconized/uniconized
2. multiple selection emulation for wxTreeCtrl almost done


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6343 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-29 01:47:34 +00:00
Julian Smart
babc97583e Removed old wxGLCanvas stuff; moved wxTreeLayout to wxWindows; corrected some doc errors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6330 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 13:42:59 +00:00
Julian Smart
8b089c5e8c Moved wxGLCanvas to more normal positions
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6326 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-28 08:22:57 +00:00
Václav Slavík
24528b0c14 added --enable-filesystem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6317 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-27 21:06:17 +00:00
Vadim Zeitlin
bfbd6dc192 1. cursor fixes: frame does have hand cursor in the controls sample now,
modal dialogs don't have busy cursor even if wxIsBusy()
2. wxTextCtrl sets client data field in the generated events
3. added wxEnhMetaFile::SetClipboard()


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6296 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 23:49:41 +00:00
Vadim Zeitlin
52a07708c4 attempts at making wxSocket work with wxBase - it doesn't work but
already compiles :-|


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 16:21:53 +00:00
Julian Smart
ec06b234d2 Added fix to wxMDIClientWindow to redisplay contents when
window is repositioned


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6285 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-25 15:16:39 +00:00
Vadim Zeitlin
225fe9d6ef 1. corrected bug in MDI sample (which resulted in missing horz scrollbar)
2. define LVS_EX_FULLROWSELECT ourselves if compiler headers don't
3. wxSafeYield() will only reenable windows which had been enabled, not all
   windows in the application
4. selection in wxTreeCtrl is not broken after dnd operation
5. wxRegKey::Rename() added, regtest sample shows copying/moving/renaming keys
   and values now
6. wxListEvent accessors made const
7. wxListCtrl sets client data field in generated events under MSW too


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-24 23:33:15 +00:00
Julian Smart
e06b95691f Misc small changes, some for VC++ 1.5
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6238 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-23 16:54:18 +00:00
Vadim Zeitlin
52130557bf moved wxMenuBar::FindMenu(title) from MSW to common code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6202 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-22 09:53:55 +00:00
Julian Smart
d6f0a4b367 Removed redundant wxColour constructor (how come this didn't cause problems before...)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6125 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 20:36:52 +00:00
Vadim Zeitlin
cd9da20028 added and documented wxDC::DrawCheckMark()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6109 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-17 12:53:36 +00:00
Václav Slavík
9c0f7642cc removed duplicate defines of wxSYS_ constants
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6060 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 22:09:42 +00:00
Vadim Zeitlin
ff2d113e01 added wxUSE_PLOT
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 12:36:33 +00:00
Vadim Zeitlin
23f681ec48 1. implemented wxRegKey::Copy() and CopyValue()
2. regtest sample doesn't crash any more
3. wxLogGui uses msg box for only 1 message
4. "const wxEventType" => "enum"
5. wxEVT_COMMAND_TREE_END_DRAG introduced - see sample for example
6. fixed several non fatal bugs in wxRegKey
7. many changes in regtest sample, not tested yet


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6017 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-15 00:05:36 +00:00
Vadim Zeitlin
c42404a58e fixes for compilation with the old mingw32, wxUSE_NORLANDER_HEADERS is always
defined (as 0 or 1)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6012 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 18:21:21 +00:00
Vadim Zeitlin
2133c25075 USE_DYNLIB_CLASS set to 1 by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6009 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-14 15:32:40 +00:00
Robert Roebling
e60908ca90 Applied colour reduction and changes to use
Windows standard palette to plot BMPs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5992 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-13 15:08:34 +00:00
Julian Smart
2b4313be05 BC++ doesn't like periods in resource names
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5983 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-12 19:10:14 +00:00
Julian Smart
c3b177ae63 Some BC++ 5.4 fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5962 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 13:29:43 +00:00
Robert Roebling
80a58c9968 Added BMP files for wxPlotWindow,
Replaced wxWindow with wxNotebookPage in wxNotebook.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5961 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-11 12:28:21 +00:00
Julian Smart
a2327a9f80 Added ShowFullScreen
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5906 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 19:14:50 +00:00
Vadim Zeitlin
91b4c08d6f 1. wxWizard appears in the centre of the screen by default
2. the selected brush isn't damaged any more by DrawBitmap()
3. corrected confusion between current and bg brush in DrawBitmap()
4. added wxGetColourFromUser() (to match wxGetTextFromUser() &c)
5. mem leak/crash in wxListCtrl on mode change fixed
6. wxListCtrl::Set{Fore|Back}groundColour() work as expected now


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5896 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-08 01:08:51 +00:00
Vadim Zeitlin
6932a32c2b trying to fix memory leak in wxListCtrl (attributes not deleted)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5889 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-07 16:51:39 +00:00
Julian Smart
9b1801c19c long -> wxCoord
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5870 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-06 12:12:25 +00:00
Vadim Zeitlin
ed79198695 1. wxTimer change - now generates EVT_TIMER()
2. wxStatusBar reorganisation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5848 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-05 01:57:38 +00:00
Vadim Zeitlin
4004f41e3c 1. wxStaticBitmap now uses mask even for bitmaps (and not only icons)
2. we now catch WM_SYSKEYDOWN/UP events as well as normal ones


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-02 00:52:06 +00:00
Julian Smart
df61c00971 Set/GetWindowMenu added to MDI parent frame under MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5776 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-02-01 15:48:44 +00:00
Vadim Zeitlin
b6c588e1a6 wxDialog change (Show() completely rewritten, modal dialogs handling changed)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5737 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-30 01:31:09 +00:00
Vadim Zeitlin
44141a18c3 these aren't being used any more
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5681 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-26 18:14:05 +00:00
Vadim Zeitlin
4a539480fb missing Init() added to wxMenu(wxCallback) ctors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5651 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-25 15:35:55 +00:00
Vadim Zeitlin
8614c46755 1. '\n's in tooltip messages are handled (replaced by spaces anyhow, tooltip
made multiline if comctl32 supports it)
2. added wxTAB_TRAVERSAL to default wxScrolledWindow style
3. improved arrows handling in radiobox (still problems for multirow ones)
4. [Alt]-<mnemonic> works in nested panels as well now because we use
   WS_EX_CONTROLPARENT for all windows with wxTAB_TRAVERSAL style
5. tooltips for radioboxes work again, even if I'm not really satisfied with
   solution :-( but I spent 2 hours trying to make TTM_WINDOWFROMPOINT handler
   work and I don't have more time to waste on this.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5620 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 23:23:46 +00:00
Václav Slavík
4d2976ad6b added wxFileType::GetMimeTypes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5601 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-23 01:03:17 +00:00
Vadim Zeitlin
00c4e8974d I think I finally fixed activation behaviour under MSW - now focus is not given
to random window after you switch to/from a frame


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5582 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-22 01:44:16 +00:00
Vadim Zeitlin
4b7f216556 1. fixed (to test) the bug with bitmaps without masks in wxImageList
2. reorganized wxImageList a bit, created a new wxInvertMask() function
3. an incredibly ugly fix (?) for "unsatisfied constraints" warnings
4. added wxIcon and wxBitmap ctors from XPM
5. XPM handler now creates bitmaps with mask
6. added wxPrinterDC::BitBlt() and DrawBitmap(), cleared the horrible mess in
   the wxDC methods with the same names


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5571 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 21:38:51 +00:00
Guillermo Rodriguez Garcia
d3ea65274f GSocket:
- Added lots of comments to both code and headers.
- Restructured some parts of Unix version. Will try to merge with MSW soon
    and have a gsockcmn.c
- Fixed a potential bug in the MSW version of GSocket_Connect when in blocking mode.
- Fixed a potential (different) bug in the corresponding Unix version.
- Now WaitConnection correctly fills out the peer address field.
- Added GAddress_INET_SetAnyAddress (sets address to INADDR_ANY)
- Default address is INADDR_ANY again, not INADDR_NONE; failed hostname lookups
    sets the address to INADDR_NONE.

wxSocket:
- Added some safety checks to the wxPostEvent stuff.

wxIPV4address:
- Added a wxIPV4address::AnyAddress method.

wxIPCConnection and co.:
- Servers binds to INADDR_ANY, instead of binding to localhost.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5561 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-21 03:12:01 +00:00
George Tasker
aeb040bfaf Comment associated with wxODBC_FWD_ONLY_CURSORS modified
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-20 14:28:58 +00:00
Václav Slavík
7dc3cc31af mimetype.cpp/.h split into unix,mac,msw
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5529 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-19 23:03:53 +00:00
Julian Smart
8caa4ed10e Further fixes to Dialog Editor; additions to .dsp files
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5390 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-14 17:55:49 +00:00
Vadim Zeitlin
d9317fd472 1. added wxEnhMetaFileXXX classes
2. fixed/added copy/paste for metafiles


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 23:39:48 +00:00
Julian Smart
d1e418eaea Set RADIOBTN_PARENT_IS_RADIOBOX to 0 (sorry, but...); fixed a
Dialog Editor crash problem; made wxStaticBitmap movable again


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 13:17:19 +00:00
Stefan Csomor
8208e181cb mac updates and msw bitmapdrawing on printer
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-13 11:07:58 +00:00
Vadim Zeitlin
b3402d0df8 added wxUSE_NOTEBOOK to include/wx/msw/setup0.h, removed wxUSE_RADIOBUTTON (we
already have RADIOBTN)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5356 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-12 15:10:47 +00:00
Vadim Zeitlin
3b59cdbfaf wxMenuItem::GetLabelFromText() added/documented, bug in wxMenu::FindItem() fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-11 13:58:41 +00:00
Robin Dunn
cfb76a19a4 MSW Caret is now destroyed and recreated when resized.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5335 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 23:01:19 +00:00
Robin Dunn
7140577b50 Wrong Init was being called in ctor.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5323 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 07:21:53 +00:00
Guillermo Rodriguez Garcia
6f4968e281 Fixes from Mumit Khan to allow DLL compilation; most fixes related to
missing WXDLLEXPORTs


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5319 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-10 00:55:05 +00:00
Guillermo Rodriguez Garcia
b44d69bae3 ops. SetFocus should be public
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5305 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-08 16:10:31 +00:00
Guillermo Rodriguez Garcia
8bf3196d66 Fixed problem with tab traversal in wxSpinCtrl (added SetFocus())
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 18:22:38 +00:00
Vadim Zeitlin
265b0c070b attempts at providing clipboard/dnd support for metafiles - unsuccessful
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5283 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-07 02:30:29 +00:00
Guillermo Rodriguez Garcia
85ac091e8f Fixed virtual function hiding problem
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5282 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 19:05:02 +00:00
Vadim Zeitlin
674ac8b919 1. more warnings fixes in gtk/region.cpp and common/tbarsmpl.cpp
2. wxWindow::Create() always takes a wxValidator parameter, even if
   !wxUSE_VALIDATORS - it is just ignored then, tons of #if wxUSE_VALIDATORS
   removed


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-06 16:47:48 +00:00
Vadim Zeitlin
479cd5de40 more fixes to compilation warnings from HP-UX build log. About 30% more to go
<sigh>


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5259 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-05 15:35:04 +00:00
Vadim Zeitlin
e47c4d4874 wxMSW compilation fixes for old mingw32
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5237 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-04 16:35:55 +00:00
Vadim Zeitlin
bb44855297 1. wxTreeCtrl::SetBackgroundColour() works (with new comctl32 anyhow)
2. wxToolTip should work with old comctl32


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5225 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 23:38:57 +00:00
Ove Kaaven
5d368213ca Halved DEFAULT_ITEM_WIDTH so default sizes resembles wxGTK better
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
2000-01-03 18:51:22 +00:00
Vadim Zeitlin
882a8f40e2 wxCalendarCtrl works under MSW too
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5149 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 23:34:18 +00:00
Vadim Zeitlin
9d9b77552e 1. wxCalendarCtrl
2. several wxDateTime bugs corrected, a couple of missing functions added
3. GetBestSize() corrections for several wxGTK controls
4. wxStaticLine doesn't get focus any more under MSW
5. added DoMoveWindow() to wxMotif


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5142 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 19:18:01 +00:00
Vadim Zeitlin
2ef31e80ee 1. some minor compilation fixes in datetime.cppm
2. implemented wxTreeCtrl::Insert(size_t index)
3. draft of wxCalendarCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-29 10:28:20 +00:00
Guillermo Rodriguez Garcia
3f399a69cc Added GetSubBitmap()
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5124 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-28 12:28:39 +00:00
Vadim Zeitlin
40973ea5fd removed testing code from wxLongLong
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5096 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 23:27:21 +00:00
Robin Dunn
8d772832a0 Added a constructor that allows creation of independent wxControl
(for more easily creating custom controls)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5085 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-23 19:23:13 +00:00
Vadim Zeitlin
9750fc4245 1. corrected some owner-drawn buttons bugs
2. added generation of event for EVT_SPINCTRL handler to wxSpinCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5073 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-22 23:00:10 +00:00
Vadim Zeitlin
cd0b170911 1. wxLongLong and wxDateTime compilation fixed for the compilers without native
"long long" type (and some code in timercmn.cpp too)
2. wxDate and wxTime reimplemented using wxDateTime (old versions tagged as
   OLD_DATE_AND_TIME)
3. wxString::To(U)Long and ToDouble added and documented
4. bug with combobox in toolbar (drop down list wasn't dismissed) fixed
5. several wxDateTime::Parse() functions implemented
6. added support for coloured buttons under MSW (not completely finished)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5043 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-21 01:44:45 +00:00
Robin Dunn
5ea6dbbfff Adding MSVC makefile support for building the TIFF library
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-17 20:55:50 +00:00
Vadim Zeitlin
8f177c8e73 Win16 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5000 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-16 21:29:54 +00:00
Vadim Zeitlin
1dbe87089b small compilation fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4978 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:49:48 +00:00
Vadim Zeitlin
8a0681f933 merging in the toolbar changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4977 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:47:54 +00:00
Vadim Zeitlin
bf84b0be84 added datetime.h/cpp to filelist and regenerated the makefiles
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-15 19:40:22 +00:00
Vadim Zeitlin
b685cd9bc8 added wxUSE_TOOLBAR_SIMPLE setting, enabled wxLongLong in configure by default
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-14 18:49:54 +00:00
Václav Slavík
3cbe51d094 removed pnghand from MSW sources - obsoleted
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4909 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-12 16:18:55 +00:00
Vadim Zeitlin
4afd752902 1. wxDir works for MSW and documented
2. wxDateTime works with dates very close to the Epoch
3. setting font for wxRadioBox works


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4899 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-11 00:43:59 +00:00
Vadim Zeitlin
c61f4f6dbd 1. wxFileDialog patch for multiple selection applied (with some small changes),
added demo for it in the sample and documented
2. wxMimeTypeManager works a bit better under Windows (doesn't ignore the
   extensions without filetypes)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4850 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 00:48:45 +00:00
Vadim Zeitlin
696e1ea0b7 1. fixes for DrawRotatedText(), drawing sample extended to show it
2. implemented colour/font support for wxTreeCtrl items
3. corrected a bug in wxListCtrl colour/font support code, the items should
   now be deleted ok
4. SetProcessAffinityMask() correction, wxThread::SetConcurrency() kind of
   works (difficult to test on a UP machine)
5. wxMimeType::EnumAllFileTypes() added, works (somewhat) under MSW
6. made default fonts under MSW 10 points and not 12 - this is the standard
   size


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-07 00:09:40 +00:00
Vadim Zeitlin
4314ec480e DrawRotatedText() for MSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4844 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 17:40:39 +00:00
Vadim Zeitlin
9ec64fa758 wxTreeCtrl has colours and fonts too now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4839 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 13:18:14 +00:00
Julian Smart
c92d798f9d Inexplicable removal of wxRadioBox::MSWWindowProc reversed, so wxRadioBox
works in Dialog Editor again. Compile error in Dialog Editor fixed.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4836 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 12:12:36 +00:00
Vadim Zeitlin
95724b1aa2 Rotated text patch from Hans-Joachim Baader (with some corrections)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4833 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-06 09:35:27 +00:00
Vadim Zeitlin
d62228a645 wxListCtrl custom drawing seems to work
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4824 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-05 00:20:58 +00:00
Vadim Zeitlin
bdc72a2268 1. wxGetOsDescription() function added
2. wxApp::GetComCtlVersion() slightly updated
3. wxToolBar::AddControl() should work on all systems, DeleteTool() added
4. wxListCtrl custom draw changes (custom colours/fonts)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4822 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-04 22:34:54 +00:00
Vadim Zeitlin
16193c2b68 wxUSE_CONFIG_NATIVE fix
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4795 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 16:32:16 +00:00
Vadim Zeitlin
4304b42f1a mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4794 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-02 14:47:49 +00:00
Vadim Zeitlin
1c4f8f8d18 1. wxMotif::wxFrame derives from wxFrameBase now
2. wxFrame::GetClientAreaOrigin() made common to all ports and documented


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4785 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-12-01 15:23:56 +00:00
Vadim Zeitlin
9fc3ad34c5 joinable and detached POSIX threads (not fully tested yet)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4769 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 23:05:23 +00:00
Karsten Ballüder
2b0b665264 test complete :-)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4760 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:57:43 +00:00
Karsten Ballüder
75a2d2c79c test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4759 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:57:08 +00:00
Karsten Ballüder
81a4f8460c test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4758 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:56:52 +00:00
Karsten Ballüder
71ba5d266c test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4757 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:55:59 +00:00
Karsten Ballüder
9c9f40d022 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:54:43 +00:00
Karsten Ballüder
b080e420ad test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4755 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:54:15 +00:00
Karsten Ballüder
d352e8509a test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:53:49 +00:00
Karsten Ballüder
2dfe62c86d test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:52:09 +00:00
Karsten Ballüder
0f65af9942 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4752 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:51:08 +00:00
Karsten Ballüder
0c83d66beb test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:50:39 +00:00
Karsten Ballüder
405c80ff3f test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4750 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:50:08 +00:00
Karsten Ballüder
46522c7910 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4749 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:49:23 +00:00
Karsten Ballüder
b28c70cf9f test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:48:48 +00:00
Karsten Ballüder
448663022d test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4747 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:48:27 +00:00
Karsten Ballüder
2c4c6c4abf test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:47:29 +00:00
Karsten Ballüder
1f381068b7 test
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-29 08:43:51 +00:00
Vadim Zeitlin
b568d04ffa 1. wxThread changes (detached/joinable) for MSW and docs updates
2. wxUSE_GUI=0 compilation for MSW (use vc6dll.t with tmake) and many small
   fixes related to this
3. an attempt to make wxLog more MT friendly
4. a small fix for wxRegConfig: it doesn't create empty unused keys any
   more (SetPath() would always create a key, now it's deleted if it was
   empty)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4712 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-27 22:57:06 +00:00
Vadim Zeitlin
fef15b42f3 attempt at more compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4699 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 16:29:54 +00:00
Vadim Zeitlin
381dd4bfa2 more compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 15:26:26 +00:00
Vadim Zeitlin
10a0bdb193 mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4694 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-26 09:53:35 +00:00
Vadim Zeitlin
f048e32fcd 1. wxMDIParentFrame::~wxMDIParentFrame() bug fixed
2. tooltips work with wxRadioBox
3. duplicated OnCtlColor()s moved to wxControl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4693 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 23:28:41 +00:00
Vadim Zeitlin
1e7215e676 compile fix for gcc
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4692 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-25 22:59:22 +00:00
Vadim Zeitlin
0d0512bd8f 1. wxIcon/wxCursor change, wxGDIImage class added
2. wxCriticalSection doesn't alloc memory any more
3. many minor fixes in bitmap/icon code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4674 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 12:55:02 +00:00
Vadim Zeitlin
6d167489bd 1. wxIcon/wxCursor change, wxGDIImage class added
2. wxCriticalSection doesn't alloc memory any more
3. many minor fixes in bitmap/icon code


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-24 12:30:56 +00:00
Julian Smart
e2b34251cb WM_MOUSEMOVE correction
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-23 10:53:39 +00:00
Vadim Zeitlin
f68586e51b wxWindow::GetBestSize() added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4633 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 21:01:20 +00:00
Vadim Zeitlin
cc160ba62b compilation fix for !wxUSE_MENU_CALLBACK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4631 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-19 16:19:33 +00:00
Václav Slavík
0b5d3315b3 I changed wxUSE_HTML (and other related wxUSEs) to 1. wxHTML is stable enough and all other options are enabled by default so I guess it's time to enable wxHTML as well :)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4606 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-17 22:35:32 +00:00
Vadim Zeitlin
7c0ea335c7 wxFrameBase class for wxMSW and wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4595 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-16 21:31:40 +00:00
Vadim Zeitlin
c09f28798b patches from Ricky Gonzales <gonzales@pyramid3.net> for BC++ Builder
compilation


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4567 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 13:57:22 +00:00
Vadim Zeitlin
222594ead7 1. fixed wxStaticBox background erasing (or, rather, restored the old bug)
2. fixed the mask code in wxBitmap(const wxIcon&) - now it really works (Win32)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4559 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-15 01:19:46 +00:00
Julian Smart
c0ab6adfed Watcom C++ fixup in tbar95.cpp; removed WXWIN_COMPATIBILITY for 'old' menu
constructor and event handling; added wxString version of wxGetTempFileName


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4552 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 14:41:30 +00:00
Vadim Zeitlin
4fe5383d6c 1. wxBitmap copy ctor and operator=() taking wxIcon added
2. wxBitmapButton focus rect looks a bit better and it respects the icon
   mask
3. wxWizard::GetPageSize() added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4550 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-14 02:22:27 +00:00
Vadim Zeitlin
07cf98cb8e 1. undid my wrong fix to wxWindowBase::Centre
2. corrected fatal bug in wxCheckLstBox (double deletion of items)
3. wxTextCtrl::SetValue() only does it if the new text is different from
   the old one
4. wxBitmap(const wxIcon&) ctor added
5. compilation fixes for VC++ and generic Win32 implementation of
   wxGetCurrentTime() in timercmn.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4534 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-13 00:30:45 +00:00
Vadim Zeitlin
0470b1e6fe wxTimer/timercmn.cpp change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4528 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 19:19:38 +00:00
Vadim Zeitlin
de6019fb15 OutputDebugStringW95 removed - it's really unnecessary - and the references to
DBWIN32 in the docs replaced with DbgView


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4520 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 15:15:14 +00:00
Vadim Zeitlin
423a556f53 mingw32 compilation fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4516 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:50:44 +00:00
Vadim Zeitlin
8d0df10dcf warning fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4512 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 14:33:36 +00:00
Vadim Zeitlin
1c383dbac9 controls can now be put in the toolbars (MSW only so far, preliminary version)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-12 02:17:44 +00:00
Julian Smart
cf1d22d685 Added a bug report; C++Builder compile fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 11:01:28 +00:00
Vadim Zeitlin
3f2711d5c1 1. wxStaticBox doesn't draw over the underlying controls any more
2. a couple of new helper functions in msw/private.h: wxColourToRGB and
   wxRGBToColour are handy to avoid writing horribly long and ugly RGB <-> wxColour
   conversions explicitly
3. modified wxDirDialog to be more comprehensible (to me), hopefully it also
   works better


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4468 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-11 00:25:57 +00:00
Julian Smart
154f22b3fa Fixes to Cygwin/Mingw32 makefile, manual now compiles wxStaticLine, etc.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4448 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-08 21:14:50 +00:00
Julian Smart
01dba85a7f Various fixes for various compilers...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4424 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 18:34:36 +00:00
Julian Smart
ad556aa948 Tidied up wxHTML About HTML file (missing /td, /tr etc.: how did that work? :-));
added sample entries to index.htm; fixed some wxUSE_SPINBUTTON -> wxUSE_SPINBTN


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4417 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-07 12:36:36 +00:00
Julian Smart
106f039552 Small changes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4412 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 19:43:45 +00:00
George Tasker
9695185a70 Added wxODBC_FWD_ONLY_CURSORS to allow for drivers/data sources that only support forward scrolling cursors
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4407 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:50:34 +00:00
Julian Smart
0e528b997e Added some makefiles, fixed a BC++ problem in controls.cpp; changed some class
ordering for VC++ 1.5


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4404 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 17:12:10 +00:00
Vadim Zeitlin
11c7d5b6d1 1. wxFontMapper seems to work for wxMSW
2. font functions moved into a separate file, duplicated code in font.cpp
   and fontdlg.cpp removed
3. wxCustomDataObject docs finished


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4382 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-06 00:43:31 +00:00
Robert Roebling
8487f88742 Added IsTopLevel() as a virtual function.
Added fontenum.hto filelist.txt,
  Changed window positioning code again,
  some more related things.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4372 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 15:54:10 +00:00
Stefan Csomor
519cb848a8 CW5.2 Pro Adaptions, wxMac starting to move in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4366 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-05 09:16:09 +00:00
Vadim Zeitlin
90c6f4d6f5 wxUSE_RADIOBOX/SLIDER/SPINCTRL added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4360 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-04 18:20:35 +00:00
Vadim Zeitlin
8b85d24e4c additions for wxFileDataObject from Ricky Gonzales <gonzales@pyramid3.net>
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4306 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 16:20:40 +00:00
Vadim Zeitlin
600ea9da94 typo fixed
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4289 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 01:27:42 +00:00
Vadim Zeitlin
717a57c2fa 1. wxMenu changes: wxMenuBase appears, several new functions for dynamic menu
handling as well
2. new sample: menu
3. small corrections to wxFileHistory made possible by wxMenu changes
4. ugly fix for panel loaded from resources and TABbing
5. wxDataObject &c doc updates


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4288 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-11-02 01:25:43 +00:00
Vadim Zeitlin
a1d58ddc15 wxFontEnumerator mostly works for wxMSW
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4269 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-30 00:08:04 +00:00
Robin Dunn
8b99adf475 EXPORTED an array to quiet the DLL compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4257 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-29 17:32:32 +00:00
Vadim Zeitlin
678cd6de66 1. corrected (but the fix is ugly) the multiple def button problem
2. corrected a bug which disabled all accels for MSW (sic)
3. added SetValue/GetValue to wxSpinCtrl
4. modified wxGetNumberFromUser to use wxSpinCtrl


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 01:17:35 +00:00
Vadim Zeitlin
baccb51431 1. more code commented out by DW (@#%#%!#%!@) uncommented
2. wxSpinCtrl calculates its default size better and sends notifications
   as wxSpinButton does


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4233 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-28 00:38:59 +00:00
Vadim Zeitlin
ad9bb75ff2 1. regenerated the makefiles to include menucmn.cpp
2. more compilation fixes for DW changes
3. implemented dynamic menu support for wxMSW
4. added code to the toolbar sample to test it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4206 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 23:38:33 +00:00
Vadim Zeitlin
a8cfd0cbf1 wxMenuBarBase for MSW (untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4205 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 19:35:25 +00:00
Vadim Zeitlin
3dfac9707a 1. added wxMenuBarBase
2. corrected typo in gtk/menu.cpp when dealing with Fn accel keys


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4204 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-26 19:07:04 +00:00
Vadim Zeitlin
974e8d946f 1. small dnd compilation fixes (no attempt to make icon setting work though)
2. wxMenuItemBase appears
3. more key combinations handled by wxGTK for menu accels


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4184 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 15:51:37 +00:00
Julian Smart
448af9a46e Cosmetic changes in setup0.h; Latex edits; PaletteSize -> wxPaletteSize;
generate newgrid VC++ project files


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4179 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-25 13:46:48 +00:00
Julian Smart
8fb3a512a8 Fixes for 16-bit compilation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4166 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 19:50:17 +00:00
Vadim Zeitlin
2d93e1335c wxDropSource now has 3 custom cursors for copy/move/nothing
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4165 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 19:34:11 +00:00
Julian Smart
0cdf89abb1 More Watcom C++ compilation stuff
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 13:07:26 +00:00
Vadim Zeitlin
2b2739754f 1. compilation fix for wxArrayTreeItemIds
2. small bug fixes for recent fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4154 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-24 00:30:53 +00:00
Vadim Zeitlin
8ee9d6182c 1. wxDropTarget::OnData() returns wxDragResult now, not bool
2. fixed assert failure in wxMSW::wxListBox
3. wxFileHistory automatically deletes non existinf files from menu
4. wxDropTarget coordinates are client (and not screen) under MSW too
5. wxConvertBitmapToDib and vice versa seem to work!
6. client data field if filled by wxListBox and wxChoice and it's also deleted
   (this just wasn't done before!)


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4153 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-23 23:40:55 +00:00
Vadim Zeitlin
6c8a980fc4 1. sorted wxListBox and wxComboBox seem to work under wxGTK
2. to support this, new class wxControlWithItems added (ctrlsub.h/cpp) and the
   controls sample modified to test it


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4141 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 18:00:39 +00:00
Vadim Zeitlin
2ee3ee1bc8 wxChoice and wxListBox GTK+ changes (wxChoice works, wxListBox still doesn't)
to support sorting, also compilation fixes in dataobj.cpp


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4140 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 15:55:27 +00:00
Vadim Zeitlin
1e8335b0b7 MSW compilation fixes (untested)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4138 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 13:26:45 +00:00
Julian Smart
88b1927cb3 More broken code corrections; broken Latex file corrections.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4136 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 13:12:08 +00:00
Julian Smart
1a7f306263 Modified Mingw32 makefiles to compile with Mingw32 2.95 or earlier;
some wxMSW/gcc compile fixes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4131 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-22 12:03:54 +00:00
Vadim Zeitlin
f536e0f24b wxClipboard::IsOpened() and wxCLipboardLocker helper class added
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4105 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 13:56:34 +00:00
Vadim Zeitlin
3922ecc98e more files for wxDataObject change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4091 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 02:06:27 +00:00
Vadim Zeitlin
9e2896e5c8 wxDataObject changes - ok for MSW, still not for GTK/Motif/...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4090 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 01:58:57 +00:00
Vadim Zeitlin
e1ee679c2e wxDataObejct and related changes (won't compile right now)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4089 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-21 00:25:42 +00:00
Vadim Zeitlin
72cdf4c9b3 1. wxApp::ProcessPendingEvents() is now common, added appcmn.cpp and
regenerated the makefiles. wxPostEvent() should work for wxGTK too (untested)
2. long -> wxCoord change for wxGTK and wxMSW, use
   wxUSE_COMPATIBLE_COORD_TYPES to get the old behaviour
3. wxHTML compilation fixes (for !wxUSE_HTML case)
4. a couple of handy macros in thread.h added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4054 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 15:14:52 +00:00
Vadim Zeitlin
d59ceba572 1. more drag and drop and clipboard changes:
a) OLE clipboard works fine
 b) wxBitmapDataObject now accepts DIBs (but doesn't give them back :-( )
 c) bugs in sample corrected
2. wxFatalExit() replaced with wxFAIL_MSG() in bitmap.cpp and dcmemory.cpp
3. wxFrame::ClientToScreen and ScreenToClient() replaced with DoXXX() - like
   this, they don't hide the base class versions


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4039 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-18 00:08:40 +00:00
Vadim Zeitlin
8e193f384f 1. wxPostEvent added and documented
2. Made it possible to have wxDataObjects which support multiple formats
   painlessly
3. Extensively modified dnd sample to show a "real life" wxDataObject


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4028 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-17 01:18:49 +00:00
David Webster
37f214d588 *** empty log message ***
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3976 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-14 04:43:46 +00:00
Unknown (CR)
e43cab59ed brought regconf interface read/write methods up to spec
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-13 22:05:03 +00:00
Vadim Zeitlin
a497618a56 1. DLL compilation fixes (wrong WXDLLEXPORT placement) in db.h/cpp
2. dummy typedef added to gsocket.c - trans unit can't be empty
3. WX_DEFINE_EXPORTED_ARRAY & friends appear


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3947 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-12 23:57:40 +00:00
Vadim Zeitlin
b782f2e0f6 wxSpinCtrl
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3923 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-10 23:28:07 +00:00
Robin Dunn
ca43a38c0f Attempting to restore the binary files that got trashed earlier today.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3902 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 07:15:31 +00:00
Robin Dunn
a79fa1ed13 fixed compilation error
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-09 07:13:13 +00:00
Karsten Ballüder
223d09f6b5 replaced T() makro with wxT() due to namespace probs, _T() exists, too
fixed compilation problems, mainly in html code
compiles and links fine on Solaris, runs with samples and Mahogany


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3894 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-08 14:35:56 +00:00
Michael Bedward
f85afd4e46 Added new wxGrid classes. This is a work in progress !
Define wxUSE_NEW_GRID as 1 in setup.h to compile the new wxGrid
otherwise the old wxGrid class will be compiled.
Treat with caution and expect bugs and missing bits at this stage.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3841 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-06 05:13:20 +00:00
Vadim Zeitlin
73974df1f9 MSW compilation (and other) fixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3829 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 22:55:10 +00:00
Vadim Zeitlin
e90c1d2a19 many changes; major ones:
1. start of !wxUSE_GUI support
2. _T() macro renamed to T()
3. wxConvertWX2MB and MB2WX macro added


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3828 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 20:15:38 +00:00
Unknown (JL)
a61ddc4715 Renameing funktions to prevent name clashes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-04 11:39:13 +00:00
Vadim Zeitlin
4cd056a7c1 fixes I previously forgot to check in
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3800 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-03 00:05:52 +00:00
Vadim Zeitlin
0661ec3993 wxCALLBACK added, wxCOMPFUNC_CONV moved to defs.h
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3782 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-10-01 18:27:51 +00:00
Guillermo Rodriguez Garcia
483249fc1a bugfixes
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3772 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-30 23:53:10 +00:00
Vadim Zeitlin
74b31181b3 1. Implemented support for different icons for different states (expanded,
selected, combination of them) for the tree control (and doc'd it)
2. removed code which was sending extra event if wxFrame::SetSize() was
   used
3. important changes to wxWizard interface
4. small compilation corrections


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3756 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 22:47:56 +00:00
Sylvain Bougnoux
f0599ea919 Factorize timercmm.cpp code
Added wxGetCurrentUtime
Put extern declaration in wx/timer.h instead of wx/*/timer.h
Added wxChrono class


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3754 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 19:40:04 +00:00
Vadim Zeitlin
0c5d3e1ccd 1. added a brief overview of Unicode support
2. added and documented wxBITMAP() macros (as wxICON)
3. restructured wxFont class, added support of encoding parameter
4. regenerated makefiles to compile the new fontcmn.cpp file
5. corrected bug with non existing files in document-view history


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3753 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 19:02:07 +00:00
J. Russell Smyth
ab20a9a95a Added defines to allow altered tab placement under gcc-2.95
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3751 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 17:44:14 +00:00
Vadim Zeitlin
51c0a521a9 wxListCtrlCompare typedef now is defined correctly (was missing CALLBACK)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-29 15:18:58 +00:00
Guillermo Rodriguez Garcia
186005466d Solved problem with wxhInstance name being mangled by MSVC; wxGetInstance is now extern C
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-17 22:24:28 +00:00
J. Russell Smyth
a6f989f3db corrected to allow drag and drop for mingw32/gcc295
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3679 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 21:45:36 +00:00
Guillermo Rodriguez Garcia
0ce742cf09 Checking for wxUSE_SOCKETS and __GSOCKET_STANDALONE__ should be right, now
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3673 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 02:21:15 +00:00
Guillermo Rodriguez Garcia
c21b68f7dd Added _GSOCKET_STANDALONE_ symbol
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-15 00:02:49 +00:00
J. Russell Smyth
2d996ed1c4 Mingw32/gcc-2.95 change
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3665 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-14 20:57:06 +00:00
Robin Dunn
d098a3572c Changed HWND --> WXHWND in tooltip.h so it can be included in files
that don't include windows headers.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@3650 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
1999-09-13 19:19:57 +00:00