Removed obsolete files

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@33849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2005-04-23 19:06:15 +00:00
parent 0bd8abe586
commit 9c8efca00a
19 changed files with 36 additions and 91 deletions

View File

@@ -430,7 +430,7 @@ facilities.
\twocolitem{\helpref{wxDataObject}{wxdataobject}}{Data object class} \twocolitem{\helpref{wxDataObject}{wxdataobject}}{Data object class}
\twocolitem{\helpref{wxDataFormat}{wxdataformat}}{Represents a data format} \twocolitem{\helpref{wxDataFormat}{wxdataformat}}{Represents a data format}
\twocolitem{\helpref{wxTextDataObject}{wxtextdataobject}}{Text data object class} \twocolitem{\helpref{wxTextDataObject}{wxtextdataobject}}{Text data object class}
\twocolitem{\helpref{wxFileDataObject}{wxtextdataobject}}{File data object class} \twocolitem{\helpref{wxFileDataObject}{wxfiledataobject}}{File data object class}
\twocolitem{\helpref{wxBitmapDataObject}{wxbitmapdataobject}}{Bitmap data object class} \twocolitem{\helpref{wxBitmapDataObject}{wxbitmapdataobject}}{Bitmap data object class}
\twocolitem{\helpref{wxCustomDataObject}{wxcustomdataobject}}{Custom data object class} \twocolitem{\helpref{wxCustomDataObject}{wxcustomdataobject}}{Custom data object class}
\twocolitem{\helpref{wxClipboard}{wxclipboard}}{Clipboard class} \twocolitem{\helpref{wxClipboard}{wxclipboard}}{Clipboard class}

View File

@@ -29,11 +29,7 @@
// Version: $Id$ // Version: $Id$
///////////////////////////////////////////////////////////////////////////// /////////////////////////////////////////////////////////////////////////////
#if (defined( __GNUWIN32__ ) && !defined(__TWIN32__)) || defined(__MWERKS__)
#include <wx/msw/gnuwin32/winresrc.h>
#else
#include <windows.h> #include <windows.h>
#endif
////////////////////////////////////////////////////////////////////////////// //////////////////////////////////////////////////////////////////////////////
// //

View File

@@ -50,10 +50,6 @@
#include <windows.h> #include <windows.h>
#include <windowsx.h> #include <windowsx.h>
#if defined(__GNUWIN32_OLD__)
#include "wx/msw/gnuwin32/extra.h"
#endif
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// private functions // private functions
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------

View File

@@ -300,7 +300,19 @@ void wxChoice::DoMoveWindow(int x, int y, int width, int height)
if ( width < 0 ) if ( width < 0 )
return; return;
// To work around a Windows bug (see "Bug in Windows Combobox" thread in Google Groups)
// we have to reset the selection if it was accidentally selected in the size.
DWORD oldSelStart = 0;
DWORD oldSelEnd = 0;
DWORD newSelStart = 0;
DWORD newSelEnd = 0;
wxControl::DoMoveWindow(x, y, width, height); wxControl::DoMoveWindow(x, y, width, height);
if (oldSelStart != newSelStart || oldSelEnd != newSelEnd)
{
::SendMessage(GetHwnd(), CB_SETEDITSEL, (WPARAM) 0, (LPARAM) MAKELPARAM(oldSelStart, oldSelEnd));
}
} }
void wxChoice::DoSetSize(int x, int y, void wxChoice::DoSetSize(int x, int y,
@@ -313,7 +325,21 @@ void wxChoice::DoSetSize(int x, int y,
// the _displayed_ size (NOT the drop down menu size) so // the _displayed_ size (NOT the drop down menu size) so
// setting-getting-setting size would not work. // setting-getting-setting size would not work.
// To work around a Windows bug (see "Bug in Windows Combobox" thread in Google Groups)
// we have to reset the selection if it was accidentally selected in the size.
DWORD oldSelStart = 0;
DWORD oldSelEnd = 0;
DWORD newSelStart = 0;
DWORD newSelEnd = 0;
::SendMessage(GetHwnd(), CB_GETEDITSEL, (WPARAM) & oldSelStart, (LPARAM) & oldSelEnd);
wxControl::DoSetSize(x, y, width, -1, sizeFlags); wxControl::DoSetSize(x, y, width, -1, sizeFlags);
if (oldSelStart != newSelStart || oldSelEnd != newSelEnd)
{
::SendMessage(GetHwnd(), CB_SETEDITSEL, (WPARAM) 0, (LPARAM) MAKELPARAM(oldSelStart, oldSelEnd));
}
} }
wxSize wxChoice::DoGetBestSize() const wxSize wxChoice::DoGetBestSize() const

View File

@@ -31,10 +31,6 @@
#include <winuser.h> #include <winuser.h>
#endif #endif
#ifdef __GNUWIN32_OLD__
#include "wx/msw/gnuwin32/extra.h"
#endif
#include "wx/wxchar.h" #include "wx/wxchar.h"
#include "wx/msw/curicop.h" #include "wx/msw/curicop.h"
#include "wx/msw/curico.h" #include "wx/msw/curico.h"

View File

@@ -50,10 +50,6 @@
#define PCONVCONTEXT CONVCONTEXT* #define PCONVCONTEXT CONVCONTEXT*
#endif #endif
#if defined(__TWIN32__) || defined(__GNUWIN32_OLD__)
#include "wx/msw/gnuwin32/extra.h"
#endif
// some compilers headers don't define this one (mingw32) // some compilers headers don't define this one (mingw32)
#ifndef DMLERR_NO_ERROR #ifndef DMLERR_NO_ERROR
#define DMLERR_NO_ERROR (0) #define DMLERR_NO_ERROR (0)

View File

@@ -48,10 +48,6 @@
#include "wx/msw/dib.h" #include "wx/msw/dib.h"
#ifdef __GNUWIN32_OLD__
#include "wx/msw/gnuwin32/extra.h"
#endif
#ifndef SEEK_CUR #ifndef SEEK_CUR
/* flags for _lseek */ /* flags for _lseek */
#define SEEK_CUR 1 #define SEEK_CUR 1

View File

@@ -32,12 +32,6 @@
typedef UINT MMRESULT; typedef UINT MMRESULT;
#endif #endif
#ifndef __TWIN32__
#ifdef __GNUWIN32_OLD__
#include "wx/msw/gnuwin32/extra.h"
#endif
#endif
// Why doesn't BC++ have joyGetPosEx? // Why doesn't BC++ have joyGetPosEx?
#if !defined(__WIN32__) || defined(__BORLANDC__) || defined(__TWIN32__) #if !defined(__WIN32__) || defined(__BORLANDC__) || defined(__TWIN32__)
#define NO_JOYGETPOSEX #define NO_JOYGETPOSEX

View File

@@ -49,12 +49,6 @@
#include "wx/ownerdrw.h" #include "wx/ownerdrw.h"
#endif #endif
#ifndef __TWIN32__
#ifdef __GNUWIN32_OLD__
#include "wx/msw/gnuwin32/extra.h"
#endif
#endif
#ifdef __WXWINE__ #ifdef __WXWINE__
#ifndef ListBox_SetItemData #ifndef ListBox_SetItemData
#define ListBox_SetItemData(hwndCtl, index, data) \ #define ListBox_SetItemData(hwndCtl, index, data) \

View File

@@ -45,11 +45,7 @@
#include "wx/msw/private.h" #include "wx/msw/private.h"
#if ((defined(__GNUWIN32_OLD__) || defined(__TWIN32__)) && !defined(__CYGWIN10__))
#include "wx/msw/gnuwin32/extra.h"
#else
#include <commctrl.h> #include <commctrl.h>
#endif
#include "wx/msw/missing.h" #include "wx/msw/missing.h"

View File

@@ -1,6 +1,7 @@
############################################################################## ##############################################################################
# Microwindows template Makefile # Microwindows template Makefile
# Copyright (c) 2000 Martin Jolicoeur, Greg Haerr # Copyright (c) 2000 Martin Jolicoeur, Greg Haerr
# Licence: wxWindows Licence
############################################################################## ##############################################################################
TOP=$(MICROWINDOWS) TOP=$(MICROWINDOWS)

View File

@@ -45,12 +45,6 @@ IMPLEMENT_DYNAMIC_CLASS(wxMiniFrame, wxFrame)
#include "wx/minifram.h" #include "wx/minifram.h"
#ifndef __TWIN32__
#ifdef __GNUWIN32_OLD__
#include "wx/msw/gnuwin32/extra.h"
#endif
#endif
IMPLEMENT_DYNAMIC_CLASS(wxMiniFrame, wxFrame) IMPLEMENT_DYNAMIC_CLASS(wxMiniFrame, wxFrame)
long wxMiniFrame::MSWDefWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam) long wxMiniFrame::MSWDefWindowProc(WXUINT nMsg, WXWPARAM wParam, WXLPARAM lParam)

View File

@@ -43,15 +43,7 @@
#include <windowsx.h> // for SetWindowFont #include <windowsx.h> // for SetWindowFont
#ifndef __TWIN32__
#ifdef __GNUWIN32_OLD__
#include "wx/msw/gnuwin32/extra.h"
#endif
#endif
#if defined(__WIN95__) && !((defined(__GNUWIN32_OLD__) || defined(__TWIN32__)) && !defined(__CYGWIN10__))
#include <commctrl.h> #include <commctrl.h>
#endif
#include "wx/msw/winundef.h" #include "wx/msw/winundef.h"

View File

@@ -32,11 +32,7 @@
#include <windows.h> #include <windows.h>
#if defined(__WIN95__) && !((defined(__GNUWIN32_OLD__) || defined(__TWIN32__)) && !defined(__CYGWIN10__))
#include <commctrl.h> #include <commctrl.h>
#else
#include "wx/msw/gnuwin32/extra.h"
#endif
#include "wx/msw/dib.h" #include "wx/msw/dib.h"
#include "wx/tabctrl.h" #include "wx/tabctrl.h"

View File

@@ -39,12 +39,6 @@
#include "wx/msw/taskbar.h" #include "wx/msw/taskbar.h"
#include "wx/msw/private.h" #include "wx/msw/private.h"
#ifndef __TWIN32__
#ifdef __GNUWIN32_OLD__
#include "wx/msw/gnuwin32/extra.h"
#endif
#endif
#ifdef __SALFORDC__ #ifdef __SALFORDC__
#include <shellapi.h> #include <shellapi.h>
#endif #endif

View File

@@ -59,11 +59,7 @@
#ifndef __TWIN32__ #ifndef __TWIN32__
#if defined(__WIN95__) && !((defined(__GNUWIN32_OLD__) || defined(__TWIN32__)) && !defined(__CYGWIN10__))
#include <commctrl.h> #include <commctrl.h>
#else
#include "wx/msw/gnuwin32/extra.h"
#endif
#if !defined(CCS_VERT) #if !defined(CCS_VERT)
#define CCS_VERT 0x00000080L #define CCS_VERT 0x00000080L

View File

@@ -55,13 +55,7 @@
#include "wx/msw/treectrl.h" #include "wx/msw/treectrl.h"
#include "wx/msw/dragimag.h" #include "wx/msw/dragimag.h"
#ifdef __GNUWIN32_OLD__
#include "wx/msw/gnuwin32/extra.h"
#endif
#if defined(__WIN95__) && !((defined(__GNUWIN32_OLD__) || defined(__TWIN32__)) && !defined(__CYGWIN10__))
#include <commctrl.h> #include <commctrl.h>
#endif
// Bug in headers, sometimes // Bug in headers, sometimes
#ifndef TVIS_FOCUSED #ifndef TVIS_FOCUSED

View File

@@ -33,11 +33,7 @@
#include <windows.h> #include <windows.h>
#include <windowsx.h> #include <windowsx.h>
#if defined(__GNUWIN32_OLD__) && !defined(__CYGWIN10__)
#include "wx/msw/gnuwin32/extra.h"
#else
#include <mmsystem.h> #include <mmsystem.h>
#endif
wxWave::wxWave() wxWave::wxWave()
: m_waveData(NULL), m_waveLength(0), m_isResource(FALSE) : m_waveData(NULL), m_waveLength(0), m_isResource(FALSE)

View File

@@ -96,15 +96,7 @@
#include <windowsx.h> #include <windowsx.h>
#endif #endif
#if (!defined(__GNUWIN32_OLD__) && !defined(__TWIN32__) && !defined(__WXMICROWIN__)) || defined(__CYGWIN10__)
#ifdef __WIN95__
#include <commctrl.h> #include <commctrl.h>
#endif
#elif !defined(__WXMICROWIN__) // broken compiler
#ifndef __TWIN32__
#include "wx/msw/gnuwin32/extra.h"
#endif
#endif
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
// standard constants not available with all compilers/headers // standard constants not available with all compilers/headers