The last drops of WINE.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2733 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -19,6 +19,7 @@ EXTRA_LTLIBRARIES = libwx_gtk.la libwx_motif.la libwx_msw.la
|
||||
# these are the common files which always make part of the library
|
||||
libwx_msw_la_SOURCES = \
|
||||
\
|
||||
winestub.c \
|
||||
extended.c \
|
||||
parser.c \
|
||||
\
|
||||
@@ -94,7 +95,6 @@ libwx_msw_la_SOURCES = \
|
||||
gridg.cpp \
|
||||
laywin.cpp \
|
||||
panelg.cpp \
|
||||
printps.cpp \
|
||||
progdlgg.cpp \
|
||||
prop.cpp \
|
||||
propform.cpp \
|
||||
@@ -116,6 +116,7 @@ libwx_msw_la_SOURCES = \
|
||||
checkbox.cpp \
|
||||
choice.cpp \
|
||||
clipbrd.cpp \
|
||||
colordlg.cpp \
|
||||
colour.cpp \
|
||||
combobox.cpp \
|
||||
control.cpp \
|
||||
@@ -127,9 +128,9 @@ libwx_msw_la_SOURCES = \
|
||||
dcscreen.cpp \
|
||||
dcprint.cpp \
|
||||
dialog.cpp \
|
||||
dirdlg \
|
||||
filedlg.cpp \
|
||||
font.cpp \
|
||||
fontdlg.cpp \
|
||||
frame.cpp \
|
||||
gauge95.cpp \
|
||||
gdiobj.cpp \
|
||||
@@ -145,6 +146,8 @@ libwx_msw_la_SOURCES = \
|
||||
notebook.cpp \
|
||||
ownerdrw.cpp \
|
||||
palette.cpp \
|
||||
printdlg.cpp \
|
||||
printwin.cpp \
|
||||
pen.cpp \
|
||||
radiobox.cpp \
|
||||
radiobut.cpp \
|
||||
@@ -166,7 +169,8 @@ libwx_msw_la_SOURCES = \
|
||||
utils.cpp \
|
||||
utilsexc.cpp \
|
||||
wave.cpp \
|
||||
window.cpp
|
||||
window.cpp \
|
||||
nativdlg.cpp
|
||||
|
||||
# these are the sources which we build by our own rules
|
||||
#
|
||||
|
@@ -43,12 +43,14 @@
|
||||
#include "wx/msgdlg.h"
|
||||
#include "wx/intl.h"
|
||||
#include "wx/dynarray.h"
|
||||
#include "wx/wxchar.h"
|
||||
#endif
|
||||
|
||||
#include "wx/msw/private.h"
|
||||
#include "wx/log.h"
|
||||
#include "wx/module.h"
|
||||
|
||||
#include "wx/msw/private.h"
|
||||
|
||||
#if wxUSE_THREADS
|
||||
#include "wx/thread.h"
|
||||
|
||||
@@ -84,6 +86,7 @@
|
||||
|
||||
#include "wx/msw/msvcrt.h"
|
||||
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// global variables
|
||||
// ---------------------------------------------------------------------------
|
||||
|
@@ -36,7 +36,7 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#if !defined(__WIN32__) || defined(__SALFORDC__)
|
||||
#if !defined(__WIN32__) || defined(__SALFORDC__) || defined(__WXWINE__)
|
||||
#include <commdlg.h>
|
||||
#endif
|
||||
|
||||
|
@@ -28,10 +28,8 @@
|
||||
#pragma hdrstop
|
||||
#endif
|
||||
|
||||
#include "wx/frame.h"
|
||||
#include "wx/msw/private.h"
|
||||
|
||||
#ifndef WX_PRECOMP
|
||||
#include "wx/window.h"
|
||||
#include "wx/dc.h"
|
||||
#include "wx/utils.h"
|
||||
#include "wx/dialog.h"
|
||||
@@ -39,6 +37,7 @@
|
||||
#include "wx/bitmap.h"
|
||||
#include "wx/dcmemory.h"
|
||||
#include "wx/log.h"
|
||||
#include "wx/icon.h"
|
||||
#endif
|
||||
|
||||
#include "wx/dcprint.h"
|
||||
@@ -54,6 +53,8 @@
|
||||
#include <print.h>
|
||||
#endif
|
||||
|
||||
#include "wx/msw/private.h"
|
||||
|
||||
#if !USE_SHARED_LIBRARY
|
||||
IMPLEMENT_ABSTRACT_CLASS(wxDC, wxObject)
|
||||
#endif
|
||||
|
@@ -31,7 +31,7 @@
|
||||
|
||||
#include <windows.h>
|
||||
|
||||
#if !defined(__WIN32__) || defined(__SALFORDC__)
|
||||
#if !defined(__WIN32__) || defined(__SALFORDC__) || defined(__WXWINE__)
|
||||
#include <commdlg.h>
|
||||
#endif
|
||||
|
||||
|
@@ -40,7 +40,7 @@
|
||||
|
||||
#if !defined(_WINDLL)
|
||||
|
||||
#ifdef __TWIN32__
|
||||
#if defined(__TWIN32__) || defined(__WXWINE__)
|
||||
|
||||
extern "C"
|
||||
BOOL PASCAL WinMain(HANDLE hInstance, HANDLE hPrevInstance, LPSTR lpCmdLine, int nCmdShow)
|
||||
|
@@ -2458,13 +2458,13 @@ bool wxWindow::HandleSetCursor(WXHWND hWnd,
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
#if wxUSE_OWNER_DRAWN
|
||||
// ---------------------------------------------------------------------------
|
||||
// owner drawn stuff
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
bool wxWindow::MSWOnDrawItem(int id, WXDRAWITEMSTRUCT *itemStruct)
|
||||
{
|
||||
#if wxUSE_OWNER_DRAWN
|
||||
// is it a menu item?
|
||||
if ( id == 0 )
|
||||
{
|
||||
@@ -2494,11 +2494,14 @@ bool wxWindow::MSWOnDrawItem(int id, WXDRAWITEMSTRUCT *itemStruct)
|
||||
return ((wxControl *)item)->MSWOnDraw(itemStruct);
|
||||
}
|
||||
else
|
||||
#endif
|
||||
return FALSE;
|
||||
|
||||
}
|
||||
|
||||
bool wxWindow::MSWOnMeasureItem(int id, WXMEASUREITEMSTRUCT *itemStruct)
|
||||
{
|
||||
#if wxUSE_OWNER_DRAWN
|
||||
// is it a menu item?
|
||||
if ( id == 0 )
|
||||
{
|
||||
@@ -2516,10 +2519,9 @@ bool wxWindow::MSWOnMeasureItem(int id, WXMEASUREITEMSTRUCT *itemStruct)
|
||||
{
|
||||
return ((wxControl *)item)->MSWOnMeasure(itemStruct);
|
||||
}
|
||||
|
||||
#endif // owner-drawn menus
|
||||
return FALSE;
|
||||
}
|
||||
#endif // owner-drawn menus
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// colours and palettes
|
||||
|
Reference in New Issue
Block a user