X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0e320a79f187558effb04d92020b470372bbe456..7b9da2077d0975db6c965a85c91d5aca671ab5e3:/src/os2/colordlg.cpp diff --git a/src/os2/colordlg.cpp b/src/os2/colordlg.cpp index 2275a9a39d..44607982b2 100644 --- a/src/os2/colordlg.cpp +++ b/src/os2/colordlg.cpp @@ -2,19 +2,44 @@ // Name: colordlg.cpp // Purpose: wxColourDialog class. NOTE: you can use the generic class // if you wish, instead of implementing this. -// Author: AUTHOR +// Author: David Webster // Modified by: -// Created: ??/??/98 +// Created: 10/13/99 // RCS-ID: $Id$ -// Copyright: (c) AUTHOR -// Licence: wxWindows licence +// Copyright: (c) David Webster +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ -#pragma implementation "colordlg.h" +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + +#ifndef WX_PRECOMP +#include +#include "wx/defs.h" +#include "wx/bitmap.h" +#include "wx/pen.h" +#include "wx/brush.h" +#include "wx/colour.h" +#include "wx/gdicmn.h" +#include "wx/utils.h" +#include "wx/frame.h" +#include "wx/dialog.h" +#include "wx/msgdlg.h" #endif -#include "wx/stubs/colordlg.h" +#define INCL_PM +#include + +#include "wx/os2/private.h" +#include "wx/colordlg.h" +#include "wx/cmndata.h" + +#include +#include +#include + +#define wxDIALOG_DEFAULT_X 300 +#define wxDIALOG_DEFAULT_Y 300 #if !USE_SHARED_LIBRARY IMPLEMENT_DYNAMIC_CLASS(wxColourDialog, wxDialog) @@ -37,7 +62,7 @@ wxColourDialog::wxColourDialog(wxWindow *parent, wxColourData *data) bool wxColourDialog::Create(wxWindow *parent, wxColourData *data) { m_dialogParent = parent; - + if (data) m_colourData = *data; return TRUE;