2017-01-18 14:26:28 +00:00
|
|
|
|
Description: Remove some debug printed on stdout.
|
|
|
|
|
|
|
2017-02-03 11:17:25 +00:00
|
|
|
|
Index: src/HexEditor.cpp
|
|
|
|
|
|
===================================================================
|
2017-12-23 09:21:39 +00:00
|
|
|
|
--- src/HexEditor.cpp.orig 2017-03-16 05:50:42.000000000 +0200
|
|
|
|
|
|
+++ src/HexEditor.cpp 2017-03-24 12:16:25.446978302 +0200
|
2017-02-03 11:17:25 +00:00
|
|
|
|
@@ -42,9 +42,11 @@ HexEditor::HexEditor( wxWindow* parent,
|
2017-01-18 14:26:28 +00:00
|
|
|
|
tagpanel(tagpanel_),
|
|
|
|
|
|
dasmpanel(dasmpanel_) {
|
|
|
|
|
|
ComparatorHexEditor=NULL;
|
|
|
|
|
|
+ #if 0
|
|
|
|
|
|
// Here, code praying to the GOD for protecting our open file from wxHexEditor's bugs and other things.
|
|
|
|
|
|
// This is really crucial step! Be adviced to not remove it, even if you don't believer.
|
|
|
|
|
|
printf("Rahman ve Rahim olan Allah'ın adıyla.\n");
|
|
|
|
|
|
+ #endif
|
|
|
|
|
|
myfile = NULL;
|
2017-02-03 11:17:25 +00:00
|
|
|
|
#ifndef DO_NOT_USE_THREAD_FOR_SCROLL
|
|
|
|
|
|
myscrollthread = NULL;
|
|
|
|
|
|
Index: src/HexEditorCtrl/HexEditorCtrl.h
|
|
|
|
|
|
===================================================================
|
2017-12-23 09:21:39 +00:00
|
|
|
|
--- src/HexEditorCtrl/HexEditorCtrl.h.orig 2017-03-16 05:50:42.000000000 +0200
|
|
|
|
|
|
+++ src/HexEditorCtrl/HexEditorCtrl.h 2017-03-24 12:16:25.446978302 +0200
|
2017-02-03 11:17:25 +00:00
|
|
|
|
@@ -66,7 +66,9 @@ class Select{ //for using EventHandler
|
2017-01-18 14:26:28 +00:00
|
|
|
|
void SetState( bool new_state ){
|
|
|
|
|
|
state = new_state;
|
|
|
|
|
|
|
|
|
|
|
|
+ #if 0
|
|
|
|
|
|
std::cout << "Send UpdateUI Event" << std::endl;
|
|
|
|
|
|
+ #endif
|
|
|
|
|
|
wxUpdateUIEvent event;
|
|
|
|
|
|
if( new_state )
|
|
|
|
|
|
event.SetString( wxT("Selected") );
|
2017-02-03 11:17:25 +00:00
|
|
|
|
Index: src/HexEditorFrame.cpp
|
|
|
|
|
|
===================================================================
|
2017-12-23 09:21:39 +00:00
|
|
|
|
--- src/HexEditorFrame.cpp.orig 2017-03-16 05:50:42.000000000 +0200
|
|
|
|
|
|
+++ src/HexEditorFrame.cpp 2017-03-24 12:16:25.446978302 +0200
|
|
|
|
|
|
@@ -510,7 +510,9 @@ HexEditor* HexEditorFrame::GetActiveHexE
|
2017-01-18 14:26:28 +00:00
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
void HexEditorFrame::OnMenuEvent( wxCommandEvent& event ){
|
|
|
|
|
|
+ #if 0
|
|
|
|
|
|
std::cout << "OnMenuEvent: " << event.GetId() << std::endl;
|
|
|
|
|
|
+ #endif
|
|
|
|
|
|
if( event.GetId() == wxID_NEW ){ //GetFile Lenght, Save file as, Create file, Open file as RW
|
|
|
|
|
|
wxString lngt;
|
|
|
|
|
|
long unsigned int size=0;
|