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:
Włodzimierz Skiba
2005-03-31 19:10:26 +00:00
parent c06dde42fe
commit 694f70fa9c
12 changed files with 36 additions and 24 deletions

View File

@@ -17,8 +17,7 @@
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
#pragma implementation "tree.cpp"
#pragma interface "tree.cpp"
#pragma implementation "tree.h"
#endif
// For compilers that support precompilation, includes "wx/wx.h".

View File

@@ -12,6 +12,10 @@
#ifndef _TREE_H_
#define _TREE_H_
#ifdef __GNUG__
#pragma interface "tree.h"
#endif
#include "wx/wx.h"
#include "wx/gizmos/splittree.h"
@@ -44,9 +48,9 @@ public:
protected:
wxRemotelyScrolledTreeCtrl* m_tree;
wxThinSplitterWindow* m_splitter;
wxSplitterScrolledWindow* m_scrolledWindow;
//wxScrolledWindow* m_scrolledWindow;
TestValueWindow* m_valueWindow;
wxSplitterScrolledWindow* m_scrolledWindow;
//wxScrolledWindow* m_scrolledWindow;
TestValueWindow* m_valueWindow;
private:
// any class wishing to process wxWidgets events must use this macro
@@ -67,21 +71,21 @@ enum
#define idTREE_CTRL 2000
#define idSPLITTER_WINDOW 2001
#define idVALUE_WINDOW 2002
#define idMAIN_FRAME 2003
#define idVALUE_WINDOW 2002
#define idMAIN_FRAME 2003
#define idSCROLLED_WINDOW 2004
class TestTree: public wxRemotelyScrolledTreeCtrl
{
DECLARE_CLASS(TestTree)
DECLARE_CLASS(TestTree)
public:
TestTree(wxWindow* parent, wxWindowID id, const wxPoint& pt = wxDefaultPosition,
const wxSize& sz = wxDefaultSize, long style = wxTR_HAS_BUTTONS);
~TestTree();
~TestTree();
DECLARE_EVENT_TABLE()
protected:
wxImageList* m_imageList;
wxImageList* m_imageList;
};
class TestValueWindow: public wxTreeCompanionWindow

View File

@@ -10,7 +10,7 @@
/////////////////////////////////////////////////////////////////////////////
#ifdef __GNUG__
#pragma implementation "mmbman.cpp"
#pragma implementation "mmbman.h"
#endif
// ----------------------------------------------------------------------------

View File

@@ -13,7 +13,7 @@
#define _MMBMAN_APP_H_
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "mmbman.cpp"
#pragma interface "mmbman.h"
#endif
#include "wx/stream.h"

View File

@@ -17,7 +17,7 @@
// headers
// ----------------------------------------------------------------------------
#ifdef __GNUG__
#pragma implementation "mmboard.cpp"
#pragma implementation "mmboard.h"
#endif
// For compilers that support precompilation, includes "wx/wx.h".

View File

@@ -13,7 +13,7 @@
#define _MMBOARD_APP_H_
#if defined(__GNUG__) && !defined(__APPLE__)
#pragma interface "mmboard.cpp"
#pragma interface "mmboard.h"
#endif
// for compilers that support precompilation, includes "wx/wx.h"

View File

@@ -6,8 +6,7 @@
*/
#ifdef __GNUG__
#pragma implementation "convert.cpp"
#pragma interface "convert.cpp"
#pragma implementation "convert.h"
#endif
// For compilers that support precompilation, includes "wx/wx.h".

View File

@@ -5,6 +5,10 @@
#if !defined(MAINFRAME_H)
#define MAINFRAME_H
#ifdef __GNUG__
#pragma interface "convert.h"
#endif
#include "wx/wxprec.h"

View File

@@ -11,8 +11,7 @@ This code was used as a starting point for my rc2xml converter
*/
#ifdef __GNUG__
#pragma implementation "rc2wxr.cpp"
#pragma interface "rc2wxr.cpp"
#pragma implementation "rc2wxr.h"
#endif
// For compilers that support precompilation, includes "wx/wx.h".

View File

@@ -5,6 +5,10 @@
#if !defined(RC2WXR_H)
#define RC2WXR_H
#ifdef __GNUG__
#pragma interface "rc2wxr.h"
#endif
#include "wx/file.h"
#include "stdio.h"

View File

@@ -16,8 +16,7 @@ cross platform (wxGTK,etc)
*/
#ifdef __GNUG__
#pragma implementation "rc2xml.cpp"
#pragma interface "rc2xml.cpp"
#pragma implementation "rc2xml.h"
#endif
// For compilers that support precompilation, includes "wx/wx.h".

View File

@@ -5,6 +5,10 @@
#if !defined(RC2XML_H)
#define RC2XML_H
#ifdef __GNUG__
#pragma interface "rc2xml.h"
#endif
#include "wx/file.h"
#include <wx/ffile.h>
#include <wx/list.h>