Wrong #pragma interface/implementation warning fixes.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -18,8 +18,8 @@
|
||||
// ----------------------------------------------------------------------------
|
||||
|
||||
#if defined(__GNUG__) && !defined(__APPLE__)
|
||||
#pragma implementation "exec.cpp"
|
||||
#pragma interface "exec.cpp"
|
||||
#pragma implementation
|
||||
#pragma interface
|
||||
#endif
|
||||
|
||||
// For compilers that support precompilation, includes "wx/wx.h".
|
||||
@@ -1028,7 +1028,7 @@ void MyPipedProcess::OnTerminate(int pid, int status)
|
||||
|
||||
bool MyPipedProcess2::HasInput()
|
||||
{
|
||||
if ( !!m_input )
|
||||
if ( !m_input.empty() )
|
||||
{
|
||||
wxTextOutputStream os(*GetOutputStream());
|
||||
os.WriteString(m_input);
|
||||
|
Reference in New Issue
Block a user