Search found 45 matches

by Nucleorion
Tue Feb 14, 2017 8:48 am
Forum: The Code Dump
Topic: Copying a Directory
Replies: 15
Views: 17108

Re: Copying a Directory

si no me equivoco:

Code: Select all

#include <wx/dir.h>
#include <wx/app.h>
#include <wx/log.h>
by Nucleorion
Tue Feb 14, 2017 7:54 am
Forum: C++ Development
Topic: Copy only files of folder
Replies: 5
Views: 1043

Re: Copy folder content

Oh! You're right. I have the same folder into the folder in test. Then for only copy all files of dir, I do comment this line; wxCopyDir(sFileFrom, sFileTo); const wxString sFileFrom = sFrom + sNext; const wxString sFileTo = sTo + sNext; if (wxDirExists(sFileFrom)) { //wxCopyDir(sFileFrom, sFileTo);...
by Nucleorion
Mon Feb 13, 2017 7:21 pm
Forum: C++ Development
Topic: Copy only files of folder
Replies: 5
Views: 1043

Re: Copy folder content

Yes! copy files but no dirs, like I want :)

thanks
by Nucleorion
Mon Feb 13, 2017 7:20 pm
Forum: C++ Development
Topic: WxDir and wxLogError in wxCopyDir function
Replies: 2
Views: 583

Re: WxDir and wxLogError in wxCopyDir function

Yes! remove :: and work fine

Thanks
by Nucleorion
Mon Feb 13, 2017 3:58 am
Forum: C++ Development
Topic: WxDir and wxLogError in wxCopyDir function
Replies: 2
Views: 583

WxDir and wxLogError in wxCopyDir function

I try use wxCopyDir function of https://forums.wxwidgets.org/viewtopic.php?t=2080 bool wxCopyDir(wxString sFrom, wxString sTo) { if (sFrom[sFrom.Len() - 1] != '\\' && sFrom[sFrom.Len() - 1] != '/') sFrom += wxFILE_SEP_PATH; if (sTo[sTo.Len() - 1] != '\\' && sTo[sTo.Len() - 1] != '/') sTo += wxFILE_S...
by Nucleorion
Mon Feb 13, 2017 3:20 am
Forum: C++ Development
Topic: Copy only files of folder
Replies: 5
Views: 1043

Re: Copy folder content

Ah! ok, I try again
by Nucleorion
Sat Feb 11, 2017 7:32 pm
Forum: The Code Dump
Topic: Copying a Directory
Replies: 15
Views: 17108

Re: Copying a Directory

What libraries are needed?
by Nucleorion
Sat Feb 11, 2017 7:07 pm
Forum: C++ Development
Topic: Copy only files of folder
Replies: 5
Views: 1043

Copy only files of folder

I can copy folder with wxDir using wxCopyDir function very nice (viewtopic.php?t=2080) , but can I copy folder content using wxwidgets?
by Nucleorion
Fri Feb 03, 2017 9:27 am
Forum: C++ Development
Topic: A simple wxWebView for show web page
Replies: 1
Views: 599

A simple wxWebView for show web page

Hi,

I want to show a single web page in an area of the form.

What is the easiest way to do that?

I'm looking for the control to add it to the form but I can not find it, if I have to add it by hand, how should I proceed?

I use codeblocks 16.01 and wxwidgets 3.0.2
by Nucleorion
Sun Jan 15, 2017 5:20 pm
Forum: Compiler / Linking / IDE Related
Topic: Compile wxWidgets in static codeblocks, shared=0
Replies: 4
Views: 2188

Re: Compile wxWidgets in static codeblocks, shared=0

YES!! Now I have been able to build the initial window project :) And the exe only occupies 7MB, and adding all the libraries. I've tried the resulting exe on windows 7 and windows 10. Just copy paste and it works fine. Thank you thank you thank you I use this line to compile: mingw32-make -f makefi...
by Nucleorion
Sun Jan 15, 2017 2:43 pm
Forum: Compiler / Linking / IDE Related
Topic: Flags for compile in windows 64bit - CXXFLAGS=-fno-keep-inline-dllexport
Replies: 3
Views: 1332

Re: Flags for compile in windows 64bit - CXXFLAGS=-fno-keep-inline-dllexport

Thanks,

Yes, he used the quotation marks. I forgot to put them in the post but not in the command window

What do it -fno-keep-inline-dllexport when compile wxwidgets-3.0.2?
by Nucleorion
Sat Jan 14, 2017 7:22 pm
Forum: Compiler / Linking / IDE Related
Topic: Flags for compile in windows 64bit - CXXFLAGS=-fno-keep-inline-dllexport
Replies: 3
Views: 1332

Flags for compile in windows 64bit - CXXFLAGS=-fno-keep-inline-dllexport

Hi,

I like compile not shared to make build all in one bit exe

What do it CXXFLAGS=-fno-keep-inline-dllexport when compile wxwidgets-3.0.2?

I try flaging CXXFLAGS=-std=gnu++11 but if add -fno-keep-inline-dllexport neither work for me.
by Nucleorion
Sat Jan 14, 2017 7:06 pm
Forum: Compiler / Linking / IDE Related
Topic: Compile wxWidgets in static codeblocks, shared=0
Replies: 4
Views: 2188

Compile wxWidgets in static codeblocks, shared=0

Hello, I'm trying to compile wxWidgets for cb on windows but in a static way. What I want is that everything is in a single exe and also try to see if you add only the libraries you need to make the file fit the fair. That's why I put the SHARED=0 parameter Well I've done about 7 different compilati...
by Nucleorion
Tue Jan 10, 2017 9:33 am
Forum: Compiler / Linking / IDE Related
Topic: compiler for windows 7 64 bits
Replies: 6
Views: 1951

Re: compiler for windows 7 64 bits

Thanks for reply :) It seems that I have already solved it. I have other IDES linked to the installation of MinGW and I think the problem is coming. As I do not want to ignore the other IDES I have done the following: I downloaded the version of code blocks that includes minGW I have installed codeb...
by Nucleorion
Sun Jan 08, 2017 12:39 pm
Forum: Compiler / Linking / IDE Related
Topic: compiler for windows 7 64 bits
Replies: 6
Views: 1951

compiler for windows 7 64 bits

Hi, I've tried compiling wxWidgets-3.1.0 to use it with codeblocks After cleaning using the line with the clean command, and delete all folder of C:\wxWidgets-3.1.0\build\msw\ I try to compile with the line mingw32-make -f makefile.gcc USE_XRC=1 SHARED=1 MONOLITHIC=1 BUILD=debug UNICODE=1 USE_OPENGL...