Wrong #pragma interface/implementation warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -17,8 +17,7 @@
|
|||||||
// headers
|
// headers
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
#ifdef __GNUG__
|
#ifdef __GNUG__
|
||||||
#pragma implementation "tree.cpp"
|
#pragma implementation "tree.h"
|
||||||
#pragma interface "tree.cpp"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx/wx.h".
|
// For compilers that support precompilation, includes "wx/wx.h".
|
||||||
|
@@ -12,6 +12,10 @@
|
|||||||
#ifndef _TREE_H_
|
#ifndef _TREE_H_
|
||||||
#define _TREE_H_
|
#define _TREE_H_
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
#pragma interface "tree.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/wx.h"
|
#include "wx/wx.h"
|
||||||
#include "wx/gizmos/splittree.h"
|
#include "wx/gizmos/splittree.h"
|
||||||
|
|
||||||
@@ -44,9 +48,9 @@ public:
|
|||||||
protected:
|
protected:
|
||||||
wxRemotelyScrolledTreeCtrl* m_tree;
|
wxRemotelyScrolledTreeCtrl* m_tree;
|
||||||
wxThinSplitterWindow* m_splitter;
|
wxThinSplitterWindow* m_splitter;
|
||||||
wxSplitterScrolledWindow* m_scrolledWindow;
|
wxSplitterScrolledWindow* m_scrolledWindow;
|
||||||
//wxScrolledWindow* m_scrolledWindow;
|
//wxScrolledWindow* m_scrolledWindow;
|
||||||
TestValueWindow* m_valueWindow;
|
TestValueWindow* m_valueWindow;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
// any class wishing to process wxWidgets events must use this macro
|
// any class wishing to process wxWidgets events must use this macro
|
||||||
@@ -67,21 +71,21 @@ enum
|
|||||||
|
|
||||||
#define idTREE_CTRL 2000
|
#define idTREE_CTRL 2000
|
||||||
#define idSPLITTER_WINDOW 2001
|
#define idSPLITTER_WINDOW 2001
|
||||||
#define idVALUE_WINDOW 2002
|
#define idVALUE_WINDOW 2002
|
||||||
#define idMAIN_FRAME 2003
|
#define idMAIN_FRAME 2003
|
||||||
#define idSCROLLED_WINDOW 2004
|
#define idSCROLLED_WINDOW 2004
|
||||||
|
|
||||||
class TestTree: public wxRemotelyScrolledTreeCtrl
|
class TestTree: public wxRemotelyScrolledTreeCtrl
|
||||||
{
|
{
|
||||||
DECLARE_CLASS(TestTree)
|
DECLARE_CLASS(TestTree)
|
||||||
public:
|
public:
|
||||||
TestTree(wxWindow* parent, wxWindowID id, const wxPoint& pt = wxDefaultPosition,
|
TestTree(wxWindow* parent, wxWindowID id, const wxPoint& pt = wxDefaultPosition,
|
||||||
const wxSize& sz = wxDefaultSize, long style = wxTR_HAS_BUTTONS);
|
const wxSize& sz = wxDefaultSize, long style = wxTR_HAS_BUTTONS);
|
||||||
~TestTree();
|
~TestTree();
|
||||||
|
|
||||||
DECLARE_EVENT_TABLE()
|
DECLARE_EVENT_TABLE()
|
||||||
protected:
|
protected:
|
||||||
wxImageList* m_imageList;
|
wxImageList* m_imageList;
|
||||||
};
|
};
|
||||||
|
|
||||||
class TestValueWindow: public wxTreeCompanionWindow
|
class TestValueWindow: public wxTreeCompanionWindow
|
||||||
|
@@ -10,7 +10,7 @@
|
|||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#ifdef __GNUG__
|
||||||
#pragma implementation "mmbman.cpp"
|
#pragma implementation "mmbman.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
#define _MMBMAN_APP_H_
|
#define _MMBMAN_APP_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "mmbman.cpp"
|
#pragma interface "mmbman.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#include "wx/stream.h"
|
#include "wx/stream.h"
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
// headers
|
// headers
|
||||||
// ----------------------------------------------------------------------------
|
// ----------------------------------------------------------------------------
|
||||||
#ifdef __GNUG__
|
#ifdef __GNUG__
|
||||||
#pragma implementation "mmboard.cpp"
|
#pragma implementation "mmboard.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx/wx.h".
|
// For compilers that support precompilation, includes "wx/wx.h".
|
||||||
|
@@ -13,7 +13,7 @@
|
|||||||
#define _MMBOARD_APP_H_
|
#define _MMBOARD_APP_H_
|
||||||
|
|
||||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||||
#pragma interface "mmboard.cpp"
|
#pragma interface "mmboard.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// for compilers that support precompilation, includes "wx/wx.h"
|
// for compilers that support precompilation, includes "wx/wx.h"
|
||||||
|
@@ -6,8 +6,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#ifdef __GNUG__
|
||||||
#pragma implementation "convert.cpp"
|
#pragma implementation "convert.h"
|
||||||
#pragma interface "convert.cpp"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx/wx.h".
|
// For compilers that support precompilation, includes "wx/wx.h".
|
||||||
|
@@ -5,6 +5,10 @@
|
|||||||
#if !defined(MAINFRAME_H)
|
#if !defined(MAINFRAME_H)
|
||||||
#define MAINFRAME_H
|
#define MAINFRAME_H
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
#pragma interface "convert.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/wxprec.h"
|
#include "wx/wxprec.h"
|
||||||
|
|
||||||
|
|
||||||
|
@@ -11,8 +11,7 @@ This code was used as a starting point for my rc2xml converter
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#ifdef __GNUG__
|
||||||
#pragma implementation "rc2wxr.cpp"
|
#pragma implementation "rc2wxr.h"
|
||||||
#pragma interface "rc2wxr.cpp"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx/wx.h".
|
// For compilers that support precompilation, includes "wx/wx.h".
|
||||||
|
@@ -5,6 +5,10 @@
|
|||||||
#if !defined(RC2WXR_H)
|
#if !defined(RC2WXR_H)
|
||||||
#define RC2WXR_H
|
#define RC2WXR_H
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
#pragma interface "rc2wxr.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/file.h"
|
#include "wx/file.h"
|
||||||
#include "stdio.h"
|
#include "stdio.h"
|
||||||
|
|
||||||
|
@@ -16,8 +16,7 @@ cross platform (wxGTK,etc)
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#ifdef __GNUG__
|
#ifdef __GNUG__
|
||||||
#pragma implementation "rc2xml.cpp"
|
#pragma implementation "rc2xml.h"
|
||||||
#pragma interface "rc2xml.cpp"
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// For compilers that support precompilation, includes "wx/wx.h".
|
// For compilers that support precompilation, includes "wx/wx.h".
|
||||||
|
@@ -5,6 +5,10 @@
|
|||||||
#if !defined(RC2XML_H)
|
#if !defined(RC2XML_H)
|
||||||
#define RC2XML_H
|
#define RC2XML_H
|
||||||
|
|
||||||
|
#ifdef __GNUG__
|
||||||
|
#pragma interface "rc2xml.h"
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "wx/file.h"
|
#include "wx/file.h"
|
||||||
#include <wx/ffile.h>
|
#include <wx/ffile.h>
|
||||||
#include <wx/list.h>
|
#include <wx/list.h>
|
||||||
|
Reference in New Issue
Block a user