Developer forums (C::B DEVELOPMENT STRICTLY!) > Plugins development
GitBlocks Plugin
stahta01:
Patch need to compile project using Windows 7 32 bit and wxWidgets 2.8.12.
FYI: Code::Blocks's Windows version of wxWidgets has 2.6 compatible mode turned off.
--- Code: --- src/CloneDialog.cpp | 2 +-
src/CommitAllDialog.cpp | 2 +-
src/CommitDialog.cpp | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/src/CloneDialog.cpp b/src/CloneDialog.cpp
index 3404cf8..afcd2a1 100644
--- a/src/CloneDialog.cpp
+++ b/src/CloneDialog.cpp
@@ -1,6 +1,6 @@
#include "CloneDialog.h"
-CloneDialog::CloneDialog(wxWindow *parent) : wxDialog(parent, ID_CLOD, _T("Clone repository"))
+CloneDialog::CloneDialog(wxWindow *parent) : wxDialog(parent, ID_CLOD, wxString(_T("Clone repository")))
{
wxBoxSizer *clodSizer = new wxBoxSizer(wxVERTICAL);
SetSizer(clodSizer);
diff --git a/src/CommitAllDialog.cpp b/src/CommitAllDialog.cpp
index 12f02c5..7c5556e 100644
--- a/src/CommitAllDialog.cpp
+++ b/src/CommitAllDialog.cpp
@@ -1,6 +1,6 @@
#include "CommitAllDialog.h"
-CommitAllDialog::CommitAllDialog(wxWindow *parent) : wxDialog(parent, ID_COAD, _T("Commit all"))
+CommitAllDialog::CommitAllDialog(wxWindow *parent) : wxDialog(parent, ID_COAD, wxString(_T("Commit all")))
{
wxBoxSizer *coadSizer = new wxBoxSizer(wxVERTICAL);
SetSizer(coadSizer);
diff --git a/src/CommitDialog.cpp b/src/CommitDialog.cpp
index fbcb888..e42d2d6 100644
--- a/src/CommitDialog.cpp
+++ b/src/CommitDialog.cpp
@@ -4,7 +4,7 @@
#include <cbproject.h>
#include <projectfile.h>
-CommitDialog::CommitDialog(wxWindow *parent) : wxDialog(parent, ID_COMD, _T("Commit"))
+CommitDialog::CommitDialog(wxWindow *parent) : wxDialog(parent, ID_COMD, wxString(_T("Commit")))
{
ProjectManager *ProjMan = Manager::Get()->GetProjectManager();
filenames.push_back(ProjMan->GetActiveProject()->GetFilename());
--- End code ---
Updated the attached CB project for windows 7.
Tim S.
[attachment deleted by admin]
tomolt:
Thanks, man! :D
I'm trying to get this in the repo as fast as I can!
oBFusCATed:
--- Quote from: tomolt on March 20, 2015, 04:38:32 pm ---I'm not too keen on autotools, so I will probably go with codeblocks projects! :)
--- End quote ---
As far as I'm concerned this is the only build system that plays well with distro packages, and that is why I'm using it.
Also I'm using it in a modern and minimal way (only two files related to autotools in the whole repo).
tomolt:
--- Quote from: oBFusCATed on March 20, 2015, 08:27:28 pm ---
--- Quote from: tomolt on March 20, 2015, 04:38:32 pm ---I'm not too keen on autotools, so I will probably go with codeblocks projects! :)
--- End quote ---
As far as I'm concerned this is the only build system that plays well with distro packages, and that is why I'm using it.
Also I'm using it in a modern and minimal way (only two files related to autotools in the whole repo).
--- End quote ---
What we need is an automatable console-only program that builds C::B projects! Something like "codeblocks-build GitBlocks.cbp -tdefault"! :)
oBFusCATed:
It won't help much with the integration with linux distros.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version