From: John L. <jr...@us...> - 2006-12-12 01:23:43
|
Update of /cvsroot/wxlua/wxLua/apps/wxlua/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv16152/wxLua/apps/wxlua/src Modified Files: lconsole.cpp lconsole.h wxlua.cpp wxlua.h Log Message: remove all #pragma interface since they are no longer needed Index: wxlua.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxlua/src/wxlua.cpp,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -d -r1.42 -r1.43 *** wxlua.cpp 8 Dec 2006 06:16:17 -0000 1.42 --- wxlua.cpp 12 Dec 2006 01:23:40 -0000 1.43 *************** *** 10,17 **** ///////////////////////////////////////////////////////////////////////////// - #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "wxlua.h" - #endif - #include "wx/wxprec.h" --- 10,13 ---- Index: lconsole.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxlua/src/lconsole.h,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** lconsole.h 7 Dec 2006 22:05:52 -0000 1.9 --- lconsole.h 12 Dec 2006 01:23:40 -0000 1.10 *************** *** 10,17 **** #define WX_LUA_CONSOLE_H - #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "lconsole.h" - #endif - #include "wx/frame.h" #include "wxlua/include/wxlua.h" --- 10,13 ---- *************** *** 28,41 **** { public: ! wxLuaConsole(wxWindow* parent, wxWindowID id, const wxString& title = wxT("wxLua console"), ! const wxPoint& pos = wxDefaultPosition, ! const wxSize& size = wxSize(300, 400), ! long style = wxDEFAULT_FRAME_STYLE, const wxString& name = wxT("wxLuaConsole")); ! // Display a message in the console void DisplayText(const wxString& msg); ! // Display the stack in a wxListBox, but only if there are any items in it void DisplayStack(const wxLuaState& wxlState); // An error has occurred, when this window is closed call wxExit to close --- 24,37 ---- { public: ! wxLuaConsole(wxWindow* parent, wxWindowID id, const wxString& title = wxT("wxLua console"), ! const wxPoint& pos = wxDefaultPosition, ! const wxSize& size = wxSize(300, 400), ! long style = wxDEFAULT_FRAME_STYLE, const wxString& name = wxT("wxLuaConsole")); ! // Display a message in the console void DisplayText(const wxString& msg); ! // Display the stack in a wxListBox, but only if there are any items in it void DisplayStack(const wxLuaState& wxlState); // An error has occurred, when this window is closed call wxExit to close Index: wxlua.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxlua/src/wxlua.h,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** wxlua.h 7 Dec 2006 01:22:02 -0000 1.22 --- wxlua.h 12 Dec 2006 01:23:40 -0000 1.23 *************** *** 13,20 **** #define WX_LUAAPP_H - #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma interface "wxlua.h" - #endif - #include "wx/app.h" #include "wxluasocket/include/wxldtarg.h" --- 13,16 ---- Index: lconsole.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxlua/src/lconsole.cpp,v retrieving revision 1.14 retrieving revision 1.15 diff -C2 -d -r1.14 -r1.15 *** lconsole.cpp 7 Dec 2006 22:05:52 -0000 1.14 --- lconsole.cpp 12 Dec 2006 01:23:40 -0000 1.15 *************** *** 9,16 **** ///////////////////////////////////////////////////////////////////////////// - #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) - #pragma implementation "lconsole.h" - #endif - #include "wx/wxprec.h" --- 9,12 ---- *************** *** 42,46 **** wxLuaConsole::wxLuaConsole(wxWindow* parent, wxWindowID id, const wxString& title, ! const wxPoint& pos, const wxSize& size, long style, const wxString& name) :wxFrame(parent, id, title, pos, size, style, name), m_exit_on_error(false) --- 38,42 ---- wxLuaConsole::wxLuaConsole(wxWindow* parent, wxWindowID id, const wxString& title, ! const wxPoint& pos, const wxSize& size, long style, const wxString& name) :wxFrame(parent, id, title, pos, size, style, name), m_exit_on_error(false) *************** *** 49,62 **** m_splitter = new wxSplitterWindow(this, wxID_ANY, ! wxDefaultPosition, wxDefaultSize, wxSP_3DSASH); m_textCtrl = new wxTextCtrl(m_splitter, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE | wxTE_READONLY | wxTE_RICH); ! m_debugListBox = new wxListBox(m_splitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, ! 0, NULL, wxLB_SINGLE); m_debugListBox->Show(false); ! // listbox is shown only when used m_splitter->Initialize(m_textCtrl); --- 45,58 ---- m_splitter = new wxSplitterWindow(this, wxID_ANY, ! wxDefaultPosition, wxDefaultSize, wxSP_3DSASH); m_textCtrl = new wxTextCtrl(m_splitter, wxID_ANY, wxEmptyString, wxDefaultPosition, wxDefaultSize, wxTE_MULTILINE | wxTE_READONLY | wxTE_RICH); ! m_debugListBox = new wxListBox(m_splitter, wxID_ANY, wxDefaultPosition, wxDefaultSize, ! 0, NULL, wxLB_SINGLE); m_debugListBox->Show(false); ! // listbox is shown only when used m_splitter->Initialize(m_textCtrl); *************** *** 100,104 **** { if (luaDebug.name != NULL) ! buffer.Printf(wxT("function %s"), lua2wx(luaDebug.name).c_str()); else --- 96,100 ---- { if (luaDebug.name != NULL) ! buffer.Printf(wxT("function %s"), lua2wx(luaDebug.name).c_str()); else |