]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/cmndata.cpp
fixing overrelease and out-of-bounds write, fixes #13725
[wxWidgets.git] / src / common / cmndata.cpp
index e3138fe06b7b0a94733cd14c8395b2f0e4b813fa..46c8b1f9d862119c14c3ce78efed3451fce5561e 100644 (file)
@@ -170,7 +170,7 @@ bool wxPrintData::IsOk() const
 {
     m_nativeData->TransferFrom( *this );
 
-    return m_nativeData->Ok();
+    return m_nativeData->IsOk();
 }
 
 // ----------------------------------------------------------------------------