No, they don't work as expected in the samples.Why do you say this ?
- Open Code:Block project.i can not reproduce this win7 64bit wx2.8 wx3.0 wx3.1
- Select a file in the "Projects" tab and quickly click inside the newly opened file (like cbeditor.cpp)
Result:
- The filename is added to the file where the mouse was clicked:
C:\Download\gnu\codeblocks-code-10924-trunk\src\sdk\cbeditor.cpp
Running Win 7 64-bit.
CodeBlocks svn 11246, wx3.0.3 - 64-bit.
Hi.
I am testing this compilation (11246), the first thing I noticed in the editor is that the cursor does not respond at times. It often disappears and is not shown. Other times, there is a fixed mark of the cursor in a place through which it passed, although it is no longer there.
Regards.
Ambarj2009.
Hi.
I am testing this compilation (11246), the first thing I noticed in the editor is that the cursor does not respond at times. It often disappears and is not shown. Other times, there is a fixed mark of the cursor in a place through which it passed, although it is no longer there.
Regards.
Ambarj2009.
Since, you failed to post your Operating System (OS) name and version; it is likely your post will be ignored.
Tim S.
diff --git a/src/src/main.cpp b/src/src/main.cpp
index 0ed4811..4707aa0 100644
--- a/src/src/main.cpp
+++ b/src/src/main.cpp
@@ -4321,7 +4321,15 @@ void MainFrame::OnEditorUpdateUI(CodeBlocksEvent& event)
}
if (Manager::Get()->GetEditorManager() && event.GetEditor() == Manager::Get()->GetEditorManager()->GetActiveEditor())
+ {
+#if defined(__WXMSW__) && wxCHECK_VERSION(3, 0, 0)
+ // Execute the code to update the status bar outside of the paint event for scintilla.
+ // Executing this function directly in the event handler causes redraw problems on Windows.
+ CallAfter(DoUpdateStatusBar);
+#else
DoUpdateStatusBar();
+#endif // defined(__wxMSW__) && wxCHECK_VERSION(3, 0, 0)
+ }
event.Skip();
}
--
Would it be possible for windows people building wx3.x+64bit builds to test if the patch below resolves the problem with the editor redraw?Well done : seems to do the job.Codediff --git a/src/src/main.cpp b/src/src/main.cpp
index 0ed4811..4707aa0 100644
--- a/src/src/main.cpp
+++ b/src/src/main.cpp
@@ -4321,7 +4321,15 @@ void MainFrame::OnEditorUpdateUI(CodeBlocksEvent& event)
}
if (Manager::Get()->GetEditorManager() && event.GetEditor() == Manager::Get()->GetEditorManager()->GetActiveEditor())
+ {
+#if defined(__WXMSW__) && wxCHECK_VERSION(3, 0, 0)
+ // Execute the code to update the status bar outside of the paint event for scintilla.
+ // Executing this function directly in the event handler causes redraw problems on Windows.
+ CallAfter(DoUpdateStatusBar);
+#else
DoUpdateStatusBar();
+#endif // defined(__wxMSW__) && wxCHECK_VERSION(3, 0, 0)
+ }
event.Skip();
}
--
It is not a good job, just a workaround...I've tested with wxWidgets 3.0.3 - 64 bits built with MinGW-TDM-5.1.0.
Is this 64bit or 32bit you're testing?